ucast/deploy/nginx/ucast.conf
ThetaDev f79220515b
All checks were successful
continuous-integration/drone/push Build is passing
add dockerfile
2022-06-26 23:23:16 +02:00

26 lines
413 B
Text

server {
listen 8001;
server_name localhost;
client_max_body_size 1M;
# serve media files
location /static/ {
alias /ucast/static/;
}
location /internal_files/ {
internal;
alias /ucast/data/;
}
location / {
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:8000;
}
# location /errors/ {
# alias /etc/nginx/conf.d/errorpages/;
# internal;
# }
}