2019-03-16 20:59:25 -04:00
|
|
|
## Based on version below; but heavily modified for LUUG
|
|
|
|
## Version 2018/09/12 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/default
|
|
|
|
|
|
|
|
# This is the main file that will be pe present no matter what
|
|
|
|
# Individual sites are specified in /config/nginx/sites/*.enabled
|
|
|
|
|
|
|
|
# Redirect HTTP traffic to HTTPS
|
|
|
|
server {
|
2019-03-16 21:53:28 -04:00
|
|
|
listen 80 default_server;
|
|
|
|
listen [::]:80 default_server;
|
2019-03-16 20:59:25 -04:00
|
|
|
server_name _;
|
|
|
|
|
|
|
|
return 301 https://$host$request_uri;
|
|
|
|
}
|
|
|
|
|
|
|
|
# Enabled sites are included in /config/nginx/nginx.conf
|