summaryrefslogtreecommitdiffstats
path: root/nginx-conf/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nginx-conf/nginx.conf22
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