Actually bind flask-admin to the mail servers
This commit is contained in:
28
config/nginx/nginx.conf
Normal file
28
config/nginx/nginx.conf
Normal file
@@ -0,0 +1,28 @@
|
||||
user www-data;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log info;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
access_log /var/log/nginx/access.log;
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
server_tokens off;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location /admin {
|
||||
include uwsgi_params;
|
||||
uwsgi_modifier1 30;
|
||||
uwsgi_pass unix:/var/run/freeposte.sock;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user