fixes
Browse files- Dockerfile +0 -4
- nginx.conf +7 -0
Dockerfile
CHANGED
@@ -26,10 +26,6 @@ ENTRYPOINT ["/bin/sh", "-c"]
|
|
26 |
|
27 |
COPY aim_repo.tar.gz .
|
28 |
RUN tar xvzf aim_repo.tar.gz
|
29 |
-
|
30 |
-
# have to run `aim init` in the directory that stores aim data for
|
31 |
-
# otherwise `aim up` will prompt for confirmation to create the directory itself.
|
32 |
-
# We run aim listening on 0.0.0.0 to expose all ports.
|
33 |
# Port 43800 for UI, 53800 for Server. Nginx listens on 7860.
|
34 |
|
35 |
# Run the startup script as aim_user
|
|
|
26 |
|
27 |
COPY aim_repo.tar.gz .
|
28 |
RUN tar xvzf aim_repo.tar.gz
|
|
|
|
|
|
|
|
|
29 |
# Port 43800 for UI, 53800 for Server. Nginx listens on 7860.
|
30 |
|
31 |
# Run the startup script as aim_user
|
nginx.conf
CHANGED
@@ -9,6 +9,13 @@ events {
|
|
9 |
http {
|
10 |
access_log /home/aim_user/nginx_logs/access.log; # Needs a path writable by aim_user
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
server {
|
13 |
listen 7860;
|
14 |
server_name localhost;
|
|
|
9 |
http {
|
10 |
access_log /home/aim_user/nginx_logs/access.log; # Needs a path writable by aim_user
|
11 |
|
12 |
+
# Add directives for temporary file paths
|
13 |
+
client_body_temp_path /home/aim_user/nginx_run/client_body;
|
14 |
+
proxy_temp_path /home/aim_user/nginx_run/proxy;
|
15 |
+
fastcgi_temp_path /home/aim_user/nginx_run/fastcgi;
|
16 |
+
uwsgi_temp_path /home/aim_user/nginx_run/uwsgi;
|
17 |
+
scgi_temp_path /home/aim_user/nginx_run/scgi;
|
18 |
+
|
19 |
server {
|
20 |
listen 7860;
|
21 |
server_name localhost;
|