Define nginx configuration file
This commit is contained in:
		
							parent
							
								
									36d79b26f5
								
							
						
					
					
						commit
						b40ef06649
					
				
							
								
								
									
										15
									
								
								nginx.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								nginx.conf
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
			
		||||
server {
 | 
			
		||||
    listen 80;
 | 
			
		||||
    server_name libre-wedding-planner.app.localhost;
 | 
			
		||||
 | 
			
		||||
    location /api/ {
 | 
			
		||||
        proxy_pass http://localhost:3001/;
 | 
			
		||||
        proxy_set_header Host $http_host;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location / {
 | 
			
		||||
        proxy_pass http://localhost:3000;
 | 
			
		||||
        proxy_set_header Host $http_host;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user