refactor(nginx): redirect to ocsreports

This commit is contained in:
Lea9250 2023-12-05 17:48:04 +01:00
parent f4334c8a58
commit 509af7b598
No known key found for this signature in database
GPG Key ID: 71F1D8F9863E5834

View File

@ -25,6 +25,7 @@ server {
ssl_certificate_key /etc/nginx/certs/${SSL_KEY};
location / {
rewrite ^/$ /ocsreports permanent;
proxy_redirect off;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;