2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 09:00:28 +01:00

Merge pull request #101 from offen/force-ssl

Force SSL on nginx level
This commit is contained in:
Frederik Ring 2019-09-12 08:43:49 +02:00 committed by GitHub
commit c92aa2f1b1

View File

@ -12,6 +12,9 @@ http {
}
server {
if ($scheme = http) {
return 301 https://$server_name$request_uri;
}
listen 80;
autoindex on;
root /www/data;