nginx.conf
This commit is contained in:
parent
18e35ec3f6
commit
9ca6ba143d
@ -1,6 +1,13 @@
|
||||
upstream gunicorn {
|
||||
server web:8000;
|
||||
}
|
||||
server {
|
||||
if ($host = "cybercode.pro") {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
listen 80;
|
||||
return 404;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user