d
This commit is contained in:
1 parent
5850bb1602
commit
9e23311159
3 files changed
+5
-5
No files matched your search
+3
-3
@@ -23,7 +23,7 @@ server {
|
||||
proxy_send_timeout 600;
|
||||
proxy_read_timeout 600;
|
||||
|
||||
root /var/www/PORTAL_COD2/front/dist/;
|
||||
root /var/www/PORTAL_COD2/src/front/dist/;
|
||||
include /etc/nginx/mime.types;
|
||||
access_log /var/log/nginx/portal.access.log;
|
||||
error_log /var/log/nginx/portal.error.log;
|
||||
@@ -38,11 +38,11 @@ server {
|
||||
|
||||
location /static {
|
||||
autoindex on;
|
||||
alias /var/www/PORTAL_COD2/portal/static/;
|
||||
alias /var/www/PORTAL_COD2/src/portal/static/;
|
||||
}
|
||||
|
||||
location /media {
|
||||
alias /var/www/PORTAL_COD2/portal/media;
|
||||
alias /var/www/PORTAL_COD2/src/portal/media;
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ After=network.target
|
||||
[Service]
|
||||
User=root
|
||||
#WorkingDirectory=/var/www/proj/DQM/dqmback
|
||||
WorkingDirectory=/var/www/PORTAL_COD2
|
||||
WorkingDirectory=/var/www/PORTAL_COD2/src/
|
||||
# --timeout NNN - set timeout for gunicorn to NNN sec, default - 30sec
|
||||
# --access-logfile FILENAME - log all requests to file FILENAMEA
|
||||
# --error-logfile FILENAME - set error log file to FILENAME
|
||||
|
||||
@@ -6,7 +6,7 @@ After=network.target
|
||||
Type=simple
|
||||
User=root
|
||||
#Group = nginx
|
||||
WorkingDirectory=/var/www/PORTAL_COD2
|
||||
WorkingDirectory=/var/www/PORTAL_COD2/src
|
||||
ExecStart=/var/www/PORTAL_COD2/env/bin/python /var/www/PORTAL_COD2/env/bin/daphne -p 9967 portal.asgi:application
|
||||
Restart=on-failure
|
||||
|
||||
|
||||
Reference in new issue
Block a user