Committing source
This commit is contained in:
18
lab_app/lab_app_nginx.conf
Executable file
18
lab_app/lab_app_nginx.conf
Executable file
@ -0,0 +1,18 @@
|
||||
#Full path: /var/www/lab_app/lab_app_nginx.conf
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
charset utf-8;
|
||||
client_max_body_size 75M;
|
||||
|
||||
location /static {
|
||||
root /var/www/lab_app/;
|
||||
}
|
||||
|
||||
location / { try_files $uri @labapp; }
|
||||
location @labapp {
|
||||
include uwsgi_params;
|
||||
uwsgi_pass unix:/var/www/lab_app/lab_app_uwsgi.sock;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user