❔ changing existent website location with nginx

i would like to have my website at something like domain/panel instead of opening it at the root with just typing in the domain. it is a pterodactyl webpanel and im just too inexperienced to do it on my own
2 Replies
Omnissiah
Omnissiah17mo ago
this is not really .net, but anyway i don't know if your website is in a framework that has routing, that would be a start in nginx conf you could bind your site to a sub path in the location or you could add an alias like
location /panel {
alias /whatever/mywebsite/;
}
location /panel {
alias /whatever/mywebsite/;
}
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server