Update for public https://habr.com/post/421887/
This commit is contained in:
10
deploy/nginx/myapp.conf
Normal file
10
deploy/nginx/myapp.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name myapp www.myapp;
|
||||
access_log /var/log/nginx/myapp-access.log mainproxy;
|
||||
error_log /var/log/nginx/myapp-error.log info;
|
||||
location / {
|
||||
include uwsgi_params;
|
||||
uwsgi_pass unix:///var/run/uwsgi/myapp.sock;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user