diff --git a/nginx-rp/reverse-proxy.conf b/nginx-rp/reverse-proxy.conf index 3e572e9..dd6935b 100644 --- a/nginx-rp/reverse-proxy.conf +++ b/nginx-rp/reverse-proxy.conf @@ -36,8 +36,6 @@ server { location = /.well-known/matrix/client { default_type application/json; add_header Access-Control-Allow-Origin '*'; - add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; - add_header Set-Cookie "Path=/; HttpOnly; Secure"; return 200 '{ "m.homeserver": { "base_url": "https://matrix.viyurz.fr" } }'; } @@ -75,7 +73,6 @@ server { add_header Content-Security-Policy "frame-ancestors 'none'"; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; - add_header X-Robots-Tag "noindex, nofollow" always; add_header Set-Cookie "Path=/; HttpOnly; Secure"; } } @@ -94,31 +91,6 @@ server { } -# Nextcloud -server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - - server_name nc.viyurz.fr; - - location / { - proxy_pass http://localhost:11000; - - add_header Set-Cookie "Path=/; HttpOnly; Secure"; - - # Websocket - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $connection_upgrade; - proxy_set_header Accept-Encoding ""; - - client_body_buffer_size 512k; - proxy_read_timeout 86400s; - client_max_body_size 0; - } -} - - # SearxNG server { listen 443 ssl http2;