Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

nginx create alias

server {
  server_name example.com;
  root /path/to/root;
  location / {
    # bla bla
  }
  location /demo {
    alias /path/to/root/production/folder/here;
  }
}
 
PREVIOUS NEXT
Tagged: #nginx #create #alias
ADD COMMENT
Topic
Name
1+1 =