BinaryONe commited on
Commit
92edd0d
·
1 Parent(s): d897b39

Nginx Changes-Over Alpine

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. nginx.conf +1 -1
Dockerfile CHANGED
@@ -45,5 +45,5 @@ RUN touch /run/openrc/softlevel
45
  USER user
46
 
47
  # Start Nginx and your application (using exec and the correct Python path)
48
- CMD ["sh", "-c", "rc-service nginx start"]
49
  #&& exec /app/venv/bin/python -u -m FileStream
 
45
  USER user
46
 
47
  # Start Nginx and your application (using exec and the correct Python path)
48
+ CMD ["sh", "-c", "rc-service nginx reload"]
49
  #&& exec /app/venv/bin/python -u -m FileStream
nginx.conf CHANGED
@@ -1,7 +1,7 @@
1
  user user;
2
  worker_processes auto;
3
  error_log /var/log/nginx/error.log warn;
4
- pid /var/run/nginx/nginx.pid;
5
  events {
6
  worker_connections 1024;
7
  }
 
1
  user user;
2
  worker_processes auto;
3
  error_log /var/log/nginx/error.log warn;
4
+ #pid /var/run/nginx/nginx.pid;
5
  events {
6
  worker_connections 1024;
7
  }