Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- server_name domainname;
- root /var/www/domainname;
- location / {
- try_files $uri $uri/ =404;
- }
- location /project1 {
- root /var/www/domainname/project1;
- try_files $uri /index.html;
- }
- location /project2 {
- root /var/www/domainname/project2;
- try_files $uri /index.html;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement