Basic design created
This commit is contained in:
@@ -29,6 +29,17 @@ server {
|
||||
fastcgi_pass mareike-app:9000; # Containername vom PHP-FPM
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
}
|
||||
}
|
||||
|
||||
# In der Nginx-Konfiguration von mareike.local
|
||||
location /build/assets/ {
|
||||
# Erlaubt explizit deine Subdomain
|
||||
add_header 'Access-Control-Allow-Origin' "$http_origin" always;
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS' always;
|
||||
add_header 'Access-Control-Allow-Headers' 'Content-Type, X-Inertia' always;
|
||||
|
||||
# Falls du alle Subdomains von mareike.local erlauben willst:
|
||||
#
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user