about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-02-24 07:33:28 +0000
committerEric Wong <e@yhbt.net>2020-02-24 18:30:14 +0000
commit45e7610b47b038dedf745d0f8c0d7eb987ee8132 (patch)
treeea14b5b5dbc193efff4e5f0b6bc2c640f71b5c52
parent41f34b29a850b987db36eb75aa3101f0eb540f1c (diff)
downloadpublic-inbox-45e7610b47b038dedf745d0f8c0d7eb987ee8132.tar.gz
It was the only file in our tree which had CRLF line endings,
so make it consistent with the rest.
-rw-r--r--examples/nginx_proxy48
1 files changed, 24 insertions, 24 deletions
diff --git a/examples/nginx_proxy b/examples/nginx_proxy
index 38e60643..d8d1e6df 100644
--- a/examples/nginx_proxy
+++ b/examples/nginx_proxy
@@ -1,24 +1,24 @@
-# Example NGINX configuration to proxy-pass requests
-# to public-inbox-httpd or to a standalone PSGI/Plack server.
-# The daemon is assumed to be running locally on port 8001.
-# Adjust ssl certificate paths if you use any, or remove
-# the ssl configuration directives if you don't.
-server {
-        server_name _;
-        listen 80;
-
-        access_log /var/log/nginx/public-inbox-httpd_access.log;
-        error_log /var/log/nginx/public-inbox-httpd_error.log;
-
-        location ~* ^/(.*)$ {
-                proxy_set_header    HOST $host;
-                proxy_set_header    X-Real-IP $remote_addr;
-                proxy_set_header    X-Forwarded-Proto $scheme;
-                proxy_pass          http://127.0.0.1:8001$request_uri;
-        }
-
-        listen 443 ssl;
-        ssl_certificate /path/to/certificate.pem;
-        ssl_certificate_key /path/to/certificate_key.pem;
-}
-
+# Example NGINX configuration to proxy-pass requests
+# to public-inbox-httpd or to a standalone PSGI/Plack server.
+# The daemon is assumed to be running locally on port 8001.
+# Adjust ssl certificate paths if you use any, or remove
+# the ssl configuration directives if you don't.
+server {
+        server_name _;
+        listen 80;
+
+        access_log /var/log/nginx/public-inbox-httpd_access.log;
+        error_log /var/log/nginx/public-inbox-httpd_error.log;
+
+        location ~* ^/(.*)$ {
+                proxy_set_header    HOST $host;
+                proxy_set_header    X-Real-IP $remote_addr;
+                proxy_set_header    X-Forwarded-Proto $scheme;
+                proxy_pass          http://127.0.0.1:8001$request_uri;
+        }
+
+        listen 443 ssl;
+        ssl_certificate /path/to/certificate.pem;
+        ssl_certificate_key /path/to/certificate_key.pem;
+}
+