Dieser Commit ist enthalten in:
andryyy 2021-04-26 11:21:49 +00:00
Ursprung b7bc73308f
Commit e9eeb4835b
3 geänderte Dateien mit 8 neuen und 6 gelöschten Zeilen

Dateidiff unterdrĂĽckt, weil mindestens eine Zeile zu lang ist

Binäre Datei nicht angezeigt.

Datei anzeigen

@ -1850,7 +1850,8 @@
include /etc/nginx/conf.d/listen_plain.active; include /etc/nginx/conf.d/listen_plain.active;
include /etc/nginx/conf.d/listen_ssl.active; include /etc/nginx/conf.d/listen_ssl.active;
<span class="hll"> server_name mysite.example.org; <span class="hll"> server_name mysite.example.org;
</span> </span> server_tokens off;
location ^~ /.well-known/acme-challenge/ { location ^~ /.well-known/acme-challenge/ {
allow all; allow all;
default_type &quot;text/plain&quot;; default_type &quot;text/plain&quot;;
@ -1871,7 +1872,8 @@
include /etc/nginx/conf.d/listen_plain.active; include /etc/nginx/conf.d/listen_plain.active;
include /etc/nginx/conf.d/listen_ssl.active; include /etc/nginx/conf.d/listen_ssl.active;
<span class="hll"> server_name example.domain.tld; <span class="hll"> server_name example.domain.tld;
</span> </span> server_tokens off;
location ^~ /.well-known/acme-challenge/ { location ^~ /.well-known/acme-challenge/ {
allow all; allow all;
default_type &quot;text/plain&quot;; default_type &quot;text/plain&quot;;
@ -1881,9 +1883,9 @@
return 301 https://$host$request_uri; return 301 https://$host$request_uri;
} }
location / { <span class="hll"> location / {
<span class="hll"> proxy_pass http://service:3000/; </span> proxy_pass http://service:3000/;
</span> proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;