Add nginx configuration.
This commit is contained in:
		
							
								
								
									
										13
									
								
								nginx/textbelt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								nginx/textbelt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					server {
 | 
				
			||||||
 | 
					    server_name  textbelt.com www.textbelt.com;
 | 
				
			||||||
 | 
					    location / {
 | 
				
			||||||
 | 
					        proxy_pass_header Server;
 | 
				
			||||||
 | 
					        proxy_set_header Host $http_host;
 | 
				
			||||||
 | 
					        proxy_redirect off;
 | 
				
			||||||
 | 
					        proxy_set_header X-Real-IP $remote_addr;
 | 
				
			||||||
 | 
					        proxy_set_header X-Scheme $scheme;
 | 
				
			||||||
 | 
					        proxy_connect_timeout 40;
 | 
				
			||||||
 | 
					        proxy_read_timeout 40;
 | 
				
			||||||
 | 
					        proxy_pass http://localhost:9090/;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user