Configuring a domain in DirectAdmin with Nginx

Norton

Verified User
Joined
Sep 30, 2021
Messages
5
1. it's about configuring nginx.conf php-fpm.conf (8.1) so as to run the application on Symfony6
2. configure subdomain with SSL, proxy, so that redirection to local websocket port of nodejs application works

I will gladly pay if only there is someone who will configure it for me
 
Symfony startup problem I solved, I just had to add in the main section an entry

maybe it will be useful to someone therefore I add this solution that helped me


Code:
location / {
    # try to serve file directly, fallback to index.php
    try_files $uri /index.php$is_args$args;
}

there is still a problem redirecting a subdomain to a websocket port, this is my first day with nginx, I'm just getting to know it and constantly encountering errors is very annoying
 
Back
Top