go – Websocket on Docker with nginx

Exception or error: I am trying to build a service with two parts: a backend and a frontend. Both are on a different docker container and are communicating through the docker-compose configuration and a nginx container. For https access, everything’s good, but when I am trying to work with websocket, I have an upgrade error, …

Nginx config for docker php-fpm container: "Access to the script '/xxx/xxx/openapi/index.html' has been denied (see security.limit_extensions)"

exception or error: There is swagger openapi generated in php-fpm container I need access to. Here is the corresponding location block from nginx default.conf: location /openapi/ { alias /xxx/xxx/openapi/; fastcgi_pass php-fpm:9000; fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param PATH_TRANSLATED $request_filename; include fastcgi_params; } From docker logs of php-fpm container: “GET /openapi/index.html” 403 NOTICE: Access to the script ‘/xxx/xxx/openapi/index.html’ …

nginx as PHP service entrypoint

exception or error: Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 7 hours ago. Question The main question here – how to serve static assets included with /vendor/ prefix …