mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-08-02 11:26:17 -04:00
simplify nginx configuration deployment
This commit is contained in:
parent
fd5c6b0c58
commit
6b7dff0c64
3 changed files with 5 additions and 5 deletions
|
@ -182,7 +182,7 @@ http {
|
|||
listen [::]:443 ssl http2;
|
||||
server_name element.grapheneos.org;
|
||||
|
||||
root /srv/element.grapheneos.org;
|
||||
include root_element.grapheneos.org.conf;
|
||||
|
||||
include snippets/security-headers.conf;
|
||||
add_header Cross-Origin-Resource-Policy "cross-origin" always;
|
||||
|
|
2
nginx/root_element.grapheneos.org.conf
Normal file
2
nginx/root_element.grapheneos.org.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
# placeholder for gixy
|
||||
root /srv/element.grapheneos.org_a;
|
Loading…
Add table
Add a link
Reference in a new issue