Welcome! Log In Create A New Profile

Advanced

Re: 'Lost' the default config location

All files from this thread

File Name File Size   Posted by Date  
smime.p7s 4.3 KB open | download rhysers 12/07/2019 Read message
smime.p7s 4.3 KB open | download rhysers 12/08/2019 Read message
Francis Daly
December 04, 2019 07:08AM
On Tue, Dec 03, 2019 at 05:28:32AM -0500, chewiesw wrote:

Hi there,

> Noob here , so please bear with me. I have a reverse proxy working so if I
> https://mysite.com/footyscore the page will launch. However if I browse to
> http or https://mysite.com the default welcome to nginx page loads. I want
> to change this (change the root) so that my roundcube webmail will launch.

It might be that just adding

location = / { return 301 /footyscore/; }

to your config will work -- that should cause any request to
https://mysite.com/ to be invited to make a new request for
https://mysite.com/footyscore/, which should then work as it currently
does.

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

'Lost' the default config location

chewiesw December 03, 2019 05:28AM

Re: 'Lost' the default config location

Francis Daly December 04, 2019 07:08AM

Controlling Access on and off LAN Attachments

rhysers December 07, 2019 03:16AM

Re: Controlling Access on and off LAN

Francis Daly December 08, 2019 08:52AM

Re: Controlling Access on and off LAN Attachments

rhysers December 08, 2019 07:32PM

Re: Controlling Access on and off LAN

Francis Daly December 10, 2019 07:34AM

Re: Controlling Access on and off LAN

Ian Hobson December 09, 2019 05:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 278
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready