nginx.conf

This commit is contained in:
zakhy 2024-10-10 09:58:23 +07:00
parent 18e35ec3f6
commit 9ca6ba143d

View File

@ -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;