Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

config all requests to one page nginx

server {

    listen 80;
    listen [::]:80;
    server_name morioh.com;
    root /var/www/morioh.com;
    
    location / {
         try_files $uri $uri/ /index.html;
    }
}
 
PREVIOUS NEXT
Tagged: #config #requests #page #nginx
ADD COMMENT
Topic
Name
7+3 =