[odrs-web/UBI8: 6/6] Add initial nginx config file




commit 0af9bae9056bc76a4ea72b4f5c39e7129e304b5a
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Apr 25 11:53:32 2022 +0200

    Add initial nginx config file

 httpd-cfg/odrs.gnome.org.conf | 79 -------------------------------------------
 nginx.conf                    | 43 +++++++++++++++++++++++
 2 files changed, 43 insertions(+), 79 deletions(-)
---
diff --git a/nginx.conf b/nginx.conf
new file mode 100644
index 0000000..ff01174
--- /dev/null
+++ b/nginx.conf
@@ -0,0 +1,43 @@
+worker_processes  1;
+
+error_log  /dev/stderr warn;
+pid        /tmp/nginx.pid;
+include /usr/share/nginx/modules-available/*.conf;
+
+events {
+    worker_connections  1024;
+}
+
+http {
+    proxy_temp_path /tmp/proxy_temp;
+    client_body_temp_path /tmp/client_temp;
+    fastcgi_temp_path /tmp/fastcgi_temp;
+    uwsgi_temp_path /tmp/uwsgi_temp;
+    scgi_temp_path /tmp/scgi_temp;
+
+    include       /etc/nginx/mime.types;
+    default_type  application/octet-stream;
+
+    sendfile        on;
+    #tcp_nopush     on;
+
+    keepalive_timeout  65;
+
+    #gzip  on;
+
+    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
+                      '$status $body_bytes_sent "$http_referer" '
+                      '"$http_user_agent" "$http_x_forwarded_for"';
+    access_log  /dev/stdout  main;
+
+    server {
+        listen 8000 default_server;
+        listen [::]:8000 default_server;
+
+        error_log /dev/stderr;
+
+        location / {
+            proxy_pass http://odrs:8080/;
+        }
+    }
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]