diff options
author | Matthew Lemon <y@yulqen.org> | 2024-04-29 16:17:46 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-04-29 16:17:46 +0100 |
commit | 63246f793907b42867bac93d304231d091b428ba (patch) | |
tree | 701cf3e626655033025f0f279ea59f0d92b90adc /nginx-conf/nginx.conf | |
parent | 2f8290c497bc9f1198780c76e224c21acf79eb35 (diff) |
Adding the template app nginx config
Diffstat (limited to 'nginx-conf/nginx.conf')
-rw-r--r-- | nginx-conf/nginx.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nginx-conf/nginx.conf b/nginx-conf/nginx.conf new file mode 100644 index 0000000..f345d2e --- /dev/null +++ b/nginx-conf/nginx.conf @@ -0,0 +1,22 @@ +user nginx; +worker_processes 1; + +pid /tmp/nginx.pid; +events { + worker_connections 1024; +} +http { + client_body_temp_path /tmp/client_temp; + proxy_temp_path /tmp/proxy_temp_path; + fastcgi_temp_path /tmp/fastcgi_temp; + uwsgi_temp_path /tmp/uwsgi_temp; + scgi_temp_path /tmp/scgi_temp; + server { + listen 80; + location / { + proxy_pass http://django-app-service:8080; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } + } +}
\ No newline at end of file |