Changeset View
Changeset View
Standalone View
Standalone View
nginx.conf
Show All 9 Lines | server { | ||||
if ($http_x_forwarded_proto = 'http') { | if ($http_x_forwarded_proto = 'http') { | ||||
return 301 https://$host$request_uri; | return 301 https://$host$request_uri; | ||||
} | } | ||||
root /usr/share/nginx/html; | root /usr/share/nginx/html; | ||||
location / { | location / { | ||||
expires -1; | |||||
index index.html; | index index.html; | ||||
} | } | ||||
location /doc/ { | location /doc/ { | ||||
# Autoindex all /doc routes until proper index pages are in place | # Autoindex all /doc routes until proper index pages are in place | ||||
autoindex on; | autoindex on; | ||||
index index.html; | index index.html; | ||||
} | } | ||||
Show All 27 Lines |