Closed webysther closed 1 year ago
For everyone that want to have example.com/admin
location /admin {
proxy_pass http://emulatorjs:3000/;
}
location /public {
proxy_pass http://emulatorjs:3000/public/;
}
location ^~ /socket {
rewrite ^/socket/(.*) /$1 break;
proxy_pass http://emulatorjs:3000;
}
I tried to put admin (port 3000) as custom location, example.com as root for port 80 and example.com/admin for port 3000 but don't work, open but don't load static required files and I don't find a solution when using nginx-proxy-manager, has a example with swagger?
I tried to change example.com/admin/public/* but don't work to resolv the static files.