12 lines
167 B
Text
12 lines
167 B
Text
|
server {
|
||
|
listen *:80;
|
||
|
listen [::]:80;
|
||
|
|
||
|
server_name _;
|
||
|
|
||
|
# Everything else -> ssl
|
||
|
location / {
|
||
|
return 301 https://$host$request_uri;
|
||
|
}
|
||
|
}
|