Initial commit

This commit is contained in:
2024-07-13 00:53:45 +03:00
commit 00eabc8150
25 changed files with 870 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
upstream ******* {
server unix:///var/www/*******/deployment/uwsgi_nginx.sock;
}
server {
charset utf-8;
client_max_body_size 75M;
listen 80;
server_name ==========;
if ($host !~ ^(app\.example\.com|admin\.example\.com)$) {
return 404;
}
location / {
uwsgi_pass *******;
include /var/www/*******/deployment/uwsgi_params;
}
location /static {
# autoindex on;
alias /var/www/*******/static/;
}
location /media/ {
# autoindex on;
alias /var/www/*******/media/;
}
}