Config files for prod deployment

This commit is contained in:
Mouse Reeve
2020-10-05 14:22:37 -07:00
parent 68813f9453
commit e24eca7da0
2 changed files with 45 additions and 1 deletions

View File

@ -20,3 +20,46 @@ server {
alias /app/static/;
}
}
# PROD version
#
#server {
# listen [::]:80;
# listen 80;
#
# server_name you-domain.com www.you-domain.com;
#
# location ~ /.well-known/acme-challenge {
# allow all;
# root /var/www/certbot;
# }
#
# # redirect http to https www
# return 301 https://www.you-domain.com$request_uri;
#}
#
#server {
# listen [::]:443 ssl http2;
# listen 443 ssl http2;
#
# server_name you-domain.com;
#
# # SSL code
# ssl_certificate /etc/nginx/ssl/live/you-domain.com/fullchain.pem;
# ssl_certificate_key /etc/nginx/ssl/live/you-domain.com/privkey.pem;
#
# location / {
# proxy_pass http://web;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Host $host;
# proxy_redirect off;
# }
#
# location /images/ {
# alias /app/images/;
# }
#
# location /static/ {
# alias /app/static/;
# }
#}