summarylogtreecommitdiffstats
path: root/example-nginx-subdirectory.conf
blob: 648f799c6985a3328a17179fdb422fa221094819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
server {
 listen 80;
 server_name example.org;

 location /deemix/ {
  proxy_pass http://127.0.0.1:6595;
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection "upgrade";
  rewrite /deemix(.*) $1 break;
 }
}