diff options
author | Yulqen <246857+yulqen@users.noreply.github.com> | 2024-04-29 16:23:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 16:23:35 +0100 |
commit | 9796bc5f69c1b0da57a3f11aa133ec3e10c43b66 (patch) | |
tree | f0b5e1107cc23b2453e69e2df87e35b4d2b7a7fc /nginx-conf/nginx.conf | |
parent | 2f8290c497bc9f1198780c76e224c21acf79eb35 (diff) | |
parent | a8559170f082fdcef3b438f936e0366810d429b1 (diff) |
Merge pull request #38 from defencedigital/pyswitch
Pyswitch
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 |