Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

DIfferent "home" / on same server

$
0
0
Hi, i'm having a little trouble setting up nginx to do the following.
I have an Angular 4 website, and I've just re-did the home page in Angular 6.
I want the "/" location to use the new Angular 6 index.html, and the rest to go to the old website files.

I've attached my current configuration, assuming the new version of the home page is in /usr/share/nginx/html/new-ms/.
How can I make it work?

Thank you!

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>