scripts/vps/services/web/site-confs/default

17 lines
524 B
Plaintext
Raw Normal View History

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 {
listen 80;
listen [::]:80 default_server:
server_name _;
return 301 https://$host$request_uri;
}
# Enabled sites are included in /config/nginx/nginx.conf