update
This commit is contained in:
		@@ -10,4 +10,4 @@ else
 | 
			
		||||
    python manage.py collectstatic --noinput
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
gunicorn "$APP_NAME".wsgi:application --bind "$APP_HOST":"$APP_PORT" --workers 3 --timeout 60 --graceful-timeout 60 --log-level=info
 | 
			
		||||
gunicorn "$APP_NAME".wsgi:application --bind "$APP_HOST":"$APP_PORT" --workers 3 --log-level=debug
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										13
									
								
								deployment/scripts/nginx/nginx.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								deployment/scripts/nginx/nginx.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
events {}
 | 
			
		||||
 | 
			
		||||
http {
 | 
			
		||||
    include       /etc/nginx/mime.types;
 | 
			
		||||
    default_type  application/octet-stream;
 | 
			
		||||
 | 
			
		||||
    server {
 | 
			
		||||
        listen 80;
 | 
			
		||||
        location /static/ {
 | 
			
		||||
            alias /usr/src/app/static/;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user