]> Sergey Matveev's repositories - public-inbox.git/commitdiff
examples/nginx_proxy: convert CRLF to LF
authorEric Wong <e@yhbt.net>
Mon, 24 Feb 2020 07:33:28 +0000 (07:33 +0000)
committerEric Wong <e@yhbt.net>
Mon, 24 Feb 2020 18:30:14 +0000 (18:30 +0000)
It was the only file in our tree which had CRLF line endings,
so make it consistent with the rest.

examples/nginx_proxy

index 38e60643d759b3502c869fadef2d2357ecd2bfc3..d8d1e6df48b8cb36419f943d38c4bc0ebffca08a 100644 (file)
@@ -1,24 +1,24 @@
-# Example NGINX configuration to proxy-pass requests\r
-# to public-inbox-httpd or to a standalone PSGI/Plack server.\r
-# The daemon is assumed to be running locally on port 8001.\r
-# Adjust ssl certificate paths if you use any, or remove\r
-# the ssl configuration directives if you don't.\r
-server {\r
-       server_name _;\r
-       listen 80;\r
-\r
-       access_log /var/log/nginx/public-inbox-httpd_access.log;\r
-       error_log /var/log/nginx/public-inbox-httpd_error.log;\r
-\r
-       location ~* ^/(.*)$ {\r
-               proxy_set_header    HOST $host;\r
-               proxy_set_header    X-Real-IP $remote_addr;\r
-               proxy_set_header    X-Forwarded-Proto $scheme;\r
-               proxy_pass          http://127.0.0.1:8001$request_uri;\r
-       }\r
-\r
-       listen 443 ssl;\r
-       ssl_certificate /path/to/certificate.pem;\r
-       ssl_certificate_key /path/to/certificate_key.pem;\r
-}\r
-\r
+# 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;
+}
+