mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
commit
c92aa2f1b1
@ -12,6 +12,9 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
if ($scheme = http) {
|
||||||
|
return 301 https://$server_name$request_uri;
|
||||||
|
}
|
||||||
listen 80;
|
listen 80;
|
||||||
autoindex on;
|
autoindex on;
|
||||||
root /www/data;
|
root /www/data;
|
||||||
|
Loading…
Reference in New Issue
Block a user