You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
networks:
web-staging-network:
driver: bridgeservices:
mercure:
container_name: mercurenetworks:
web-staging-network:
env_file:
- ./.envimage: dunglas/mercure:latestrestart: unless-stoppedenvironment:
SERVER_NAME: ':80'MERCURE_PUBLISHER_JWT_KEY: '${MERCURE_PUBLISHER_JWT_KEY:-!ChangeThisDevMercureHubJWTSecretKey!}'MERCURE_SUBSCRIBER_JWT_KEY: '${MERCURE_SUBSCRIBER_JWT_KEY:-!ChangeThisDevMercureHubJWTSecretKey!}'# Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directiveMERCURE_EXTRA_DIRECTIVES: | cors_origins http://app.domain.com use_forwarded_headers "1"# Comment the following line to disable the development modecommand: /usr/bin/caddy run --config /etc/caddy/Caddyfile.devvolumes:
- mercure_data:/data
- mercure_config:/configvolumes:
mercure_data:
mercure_config:
server {
listen443 ssl http2;
listen [::]:443 ssl http2;
server_name hub-preprod.domain.com;
ssl_certificate path_to_crt;
ssl_certificate_key path_to_key;
location/ {
proxy_pass http://localhost:8181;
proxy_read_timeout24h;
proxy_http_version1.1;
proxy_set_header Connection "";
## Be sure to set USE_FORWARDED_HEADERS=1 to allow the hub to use those headers ##proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
}
error_log /home/<user>/logs/error-hub.log;
access_log /home/<user>/logs/access-hub.log;
}
On DEV mode (eg: command: /usr/bin/caddy run --config /etc/caddy/Caddyfile.dev, uncommented) , the UI is accessible, but no update is made and return the above error.
Thanks for any help
Note: It is a private project
The text was updated successfully, but these errors were encountered:
Hello,
I faced a problem. A create a route to test my update and here is the message
Docker config
Docker override:
On DEV mode (eg: command: /usr/bin/caddy run --config /etc/caddy/Caddyfile.dev, uncommented) , the UI is accessible, but no update is made and return the above error.
Thanks for any help
Note: It is a private project
The text was updated successfully, but these errors were encountered: