Skip to content
Snippets Groups Projects
Commit af2a0e8e authored by nimrod's avatar nimrod
Browse files

Set the Vim file type.

Prettier editing.
parent 0432fe6e
No related branches found
No related tags found
No related merge requests found
# vim: ft=nginx
include snippets/ssl-common.conf; include snippets/ssl-common.conf;
ssl_protocols TLSv1.2 TLSv1.3; ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!NULL:!AES128:!ARIA128:!CAMELLIA128:!SHA1; ssl_ciphers HIGH:!NULL:!AES128:!ARIA128:!CAMELLIA128:!SHA1;
# vim: ft=nginx
if ($http_Upgrade-Insecure-Requests = 1) { return 301 https://$host$request_uri; } if ($http_Upgrade-Insecure-Requests = 1) { return 301 https://$host$request_uri; }
# vim: ft=nginx
# send all requests to the `/validate` endpoint for authorization # send all requests to the `/validate` endpoint for authorization
auth_request /validate; auth_request /validate;
......
# vim: ft=nginx
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade"; proxy_set_header Connection "Upgrade";
proxy_read_timeout 36000s; proxy_read_timeout 36000s;
# vim: ft=nginx
location /.well-known/acme-challenge/ { root /var/www/www.shore.co.il; } location /.well-known/acme-challenge/ { root /var/www/www.shore.co.il; }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment