2015-05-28 02:30:28 -06:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								server {
							 | 
						
					
						
							
								
									
										
										
										
											2015-06-09 02:26:41 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    listen  80;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    server_name dynamicweb-staging.ungleich.ch;
							 | 
						
					
						
							
								
									
										
										
										
											2015-05-28 02:30:28 -06:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2015-05-31 05:36:45 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    location /static {
							 | 
						
					
						
							
								
									
										
										
										
											2015-06-09 02:26:41 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									    alias /home/app/django/dynamicweb/static/;
							 | 
						
					
						
							
								
									
										
										
										
											2015-05-28 02:30:28 -06:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2015-05-31 05:36:45 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    location /media {
							 | 
						
					
						
							
								
									
										
										
										
											2015-06-09 02:26:41 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									    alias /home/app/django/dynamicweb/media/;
							 | 
						
					
						
							
								
									
										
										
										
											2015-05-28 02:30:28 -06:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    location / {
							 | 
						
					
						
							
								
									
										
										
										
											2015-05-31 05:36:45 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									proxy_pass http://127.0.0.1:8000/;
							 | 
						
					
						
							
								
									
										
										
										
											2015-05-28 02:30:28 -06:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
									proxy_pass_header Server;
							 | 
						
					
						
							
								
									
										
										
										
											2015-06-09 02:26:41 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									proxy_set_header Host $host;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									proxy_set_header X-Forwarded-Host $host;
							 | 
						
					
						
							
								
									
										
										
										
											2015-05-28 02:30:28 -06:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
									proxy_redirect off;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									proxy_set_header X-Real-IP $remote_addr;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									proxy_set_header X-Scheme $scheme;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									proxy_connect_timeout 600;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									proxy_send_timeout 600;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									proxy_read_timeout 600;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								}
							 |