mount djangocms on / again - found working nginx config
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								29773e45ab
							
						
					
				
			
			
				commit
				
					
						640f99bbed
					
				
			
		
					 2 changed files with 13 additions and 1 deletions
				
			
		
							
								
								
									
										12
									
								
								DEPLOY.rst
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								DEPLOY.rst
									
										
									
									
									
								
							| 
						 | 
					@ -62,3 +62,15 @@ configure the values for the ssh host, user, port and target directory.
 | 
				
			||||||
   There's an example for the nginx proxy in configs/nginx.proxy.conf.
 | 
					   There's an example for the nginx proxy in configs/nginx.proxy.conf.
 | 
				
			||||||
   For the stating server one can just copy configs/nginx.proxy.conf -> /etc/nginx/conf.d/ungleich.proxy.conf.
 | 
					   For the stating server one can just copy configs/nginx.proxy.conf -> /etc/nginx/conf.d/ungleich.proxy.conf.
 | 
				
			||||||
   Remember to comment/delete/change the configuration /etc/nginx/sites-enabled/default.
 | 
					   Remember to comment/delete/change the configuration /etc/nginx/sites-enabled/default.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Other stuff (unsorted):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    python manage.py  makemigrations
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - restart
 | 
				
			||||||
 | 
					        - should have sudo!
 | 
				
			||||||
 | 
					        /etc/init.d/uwsgi restart
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					    - staticfiles: 
 | 
				
			||||||
 | 
					        python manage.py collectstatic
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,7 +10,7 @@ urlpatterns = [
 | 
				
			||||||
                                     namespace="digitalglarus")),
 | 
					                                     namespace="digitalglarus")),
 | 
				
			||||||
    url(r'^railshosting/', include('railshosting.urls',
 | 
					    url(r'^railshosting/', include('railshosting.urls',
 | 
				
			||||||
                                   namespace="railshosting")),
 | 
					                                   namespace="railshosting")),
 | 
				
			||||||
    url(r'^cms/', include('cms.urls')),
 | 
					    url(r'^', include('cms.urls')),
 | 
				
			||||||
    url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
 | 
					    url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
 | 
				
			||||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
 | 
					] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue