Hi All, Looking for a little help here. thanks for any help What I'm trying to do is enable a secondary site (and code) off a main site (different code) on the same nginx deployment and domain. Main Site: Works as expected Main foobar.com Location Site 1: foobar.com/skunk Location Site 2: foobar.com/frog Location Site x: foobar.com/buffalo Laravel / PHP It's ownby tconlon - How to...
Hi, Found it, if ($page == 'index.php') { header("Location: ". $toUrl); probably need something like this <?php // 301 Moved Permanently header("Location: ",TRUE,301); thanksby tconlon - Nginx Mailing List - English
Hi, Digging into the code will get back to you Thanksby tconlon - Nginx Mailing List - English
Absolutely..and thanks Running this on Forge / Digital Ocean ############www.myurl.com # FORGE CONFIG (DO NOT REMOVE!) include forge-conf/www.myurl.com/before/*; server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name www.myurl.com; root /home/forge/www.myurl.com/current/public; # FORGE SSL (DO NOT REMOVE!) ssl_certificate /etc/nginx/ssl/wby tconlon - Nginx Mailing List - English
Hi Team, I have a funny situation that I can't seem to get around. Here are the details. We had this naming convention to indicate a specific location: https://myurl/location/index.php?id=235 This naming convention is still out in the internet ether We changed to go to a slug based operation: https://myurl/location/newyorkcity We do the work to determine that id=235 is really the newyoby tconlon - Nginx Mailing List - English