Welcome! Log In Create A New Profile


'location' as an alias for 'server'?

November 04, 2014 04:03AM
I have nginx set up with several servers in /etc/nginx/sites-enabled

However, I want to convert my setup to one domain ***myserver.com*** , so typing in a browser


will no longer get me to the appropriate ***/usr/share/webapps/lalala*** subfolder.

Therefore, I want to create some kind of bind (if possible) so that if I type


it will redirect me to ***/usr/share/webapps*** while still applying all the configuration from

Is it doable, or do I have to rewrite all the server files from /sites-enabled/ as locations?
Subject Author Posted

'location' as an alias for 'server'?

lockheed November 04, 2014 04:03AM

Re: 'location' as an alias for 'server'?

B.R. November 04, 2014 07:52AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready