build docker compose

This commit is contained in:
root
2020-09-29 05:24:15 +00:00
parent 4cc6e69e10
commit 9b34f8d8ab
6 changed files with 43 additions and 3 deletions

View File

@@ -5,6 +5,21 @@ server {
alias /app/static;
try_files $uri $uri/ =404;
}
location /fotos {
proxy_ssl_server_name on;
proxy_ssl_verify off;
proxy_pass http://flaskfetfotos:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
# proxy_set_header REMOTE-USER $http_REMOTE_USER;
# proxy_set_header X-Forwarded-User $http_REMOTE_USER;
# proxy_set_header x-forwarded-user $http_REMOTE_USER;
proxy_set_header Connection "upgrade";
}
location / {
include uwsgi_params;
uwsgi_pass unix:///tmp/uwsgi.sock;