Laudende Default seite entfernen
parent
0fd7252048
commit
e937e1fc33
|
|
@ -125,6 +125,7 @@ server {
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name ${host};
|
server_name ${host};
|
||||||
|
|
||||||
|
# ACME HTTP-01 auf Port 80
|
||||||
location ^~ /.well-known/acme-challenge/ {
|
location ^~ /.well-known/acme-challenge/ {
|
||||||
root ${ACME_ROOT};
|
root ${ACME_ROOT};
|
||||||
allow all;
|
allow all;
|
||||||
|
|
@ -143,6 +144,12 @@ server {
|
||||||
ssl_certificate_key ${key};
|
ssl_certificate_key ${key};
|
||||||
ssl_protocols TLSv1.2 TLSv1.3;
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
|
|
||||||
|
# WICHTIG: ACME auch auf 443, sonst 404 bei Redirects
|
||||||
|
location ^~ /.well-known/acme-challenge/ {
|
||||||
|
root ${ACME_ROOT};
|
||||||
|
allow all;
|
||||||
|
}
|
||||||
|
|
||||||
root ${APP_DIR}/public;
|
root ${APP_DIR}/public;
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
|
|
@ -161,7 +168,7 @@ server {
|
||||||
location ^~ /livewire/ { try_files \$uri /index.php?\$query_string; }
|
location ^~ /livewire/ { try_files \$uri /index.php?\$query_string; }
|
||||||
location ~* \.(jpg|jpeg|png|gif|css|js|ico|svg)\$ { expires 30d; access_log off; }
|
location ~* \.(jpg|jpeg|png|gif|css|js|ico|svg)\$ { expires 30d; access_log off; }
|
||||||
|
|
||||||
# WebSocket: Laravel Reverb
|
# WebSocket: Laravel Reverb (Backend intern HTTP)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade \$http_upgrade;
|
proxy_set_header Upgrade \$http_upgrade;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue