Skip to content
Extraits de code Groupes Projets
Valider 1f7311b1 rédigé par Dan Hunsaker's avatar Dan Hunsaker Validation de Eugen Rochko
Parcourir les fichiers

Update Nginx config for Nanobox apps (#9310)

The Nanobox files have gotten out of sync, a touch, with what Masto needs for Nginx settings. This PR updates them accordingly.
parent 0c666ae5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -38,7 +38,7 @@ http { ...@@ -38,7 +38,7 @@ http {
root /app/public; root /app/public;
client_max_body_size 8M; client_max_body_size 80M;
location / { location / {
try_files $uri @rails; try_files $uri @rails;
......
...@@ -32,7 +32,7 @@ http { ...@@ -32,7 +32,7 @@ http {
listen 8080; listen 8080;
add_header Strict-Transport-Security "max-age=31536000"; add_header Strict-Transport-Security "max-age=31536000";
add_header Content-Security-Policy "style-src 'self' 'unsafe-inline'; script-src 'self'; object-src 'self'; img-src data: https:; media-src data: https:; connect-src 'self' wss://<%= ENV["LOCAL_DOMAIN"] %>; upgrade-insecure-requests"; # add_header Content-Security-Policy "style-src 'self' 'unsafe-inline'; script-src 'self'; object-src 'self'; img-src data: https:; media-src data: https:; connect-src 'self' wss://<%= ENV["LOCAL_DOMAIN"] %>; upgrade-insecure-requests";
root /app/public; root /app/public;
......
...@@ -32,11 +32,11 @@ http { ...@@ -32,11 +32,11 @@ http {
listen 8080; listen 8080;
add_header Strict-Transport-Security "max-age=31536000"; add_header Strict-Transport-Security "max-age=31536000";
add_header Content-Security-Policy "style-src 'self' 'unsafe-inline'; script-src 'self'; object-src 'self'; img-src data: https:; media-src data: https:; connect-src 'self' wss://<%= ENV["LOCAL_DOMAIN"] %>; upgrade-insecure-requests"; # add_header Content-Security-Policy "style-src 'self' 'unsafe-inline'; script-src 'self'; object-src 'self'; img-src data: https:; media-src data: https:; connect-src 'self' wss://<%= ENV["LOCAL_DOMAIN"] %>; upgrade-insecure-requests";
root /app/public; root /app/public;
client_max_body_size 8M; client_max_body_size 80M;
location / { location / {
try_files $uri @rails; try_files $uri @rails;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter