Simon Bruder
66907f236a
All checks were successful
continuous-integration/drone/push Build is passing
23 lines
408 B
Nginx Configuration File
23 lines
408 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name localhost;
|
|
|
|
root /srv/www/webui/;
|
|
|
|
location / {
|
|
index index.html;
|
|
}
|
|
|
|
location /download/ {
|
|
alias /data/;
|
|
autoindex on;
|
|
}
|
|
|
|
location /jsonrpc {
|
|
proxy_pass http://localhost:6800/jsonrpc;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "Upgrade";
|
|
}
|
|
}
|