skip to Main Content

Nginx has conflict with an application running on 443

In MacOS, I usually run my project in localhost by sudo PORT=443 HTTPS=true ./node_modules/.bin/react-scripts start. As a result, https://localhost/#/start works in a browser. Now, to run third-party authentications in localhost, I need to run nginx. Here is my /usr/local/etc/nginx/nginx.conf: worker_processes…

VIEW QUESTION

NGINX Two Directories One URL (Codeigniter, HTML)

Here is my default.conf file: server { listen 80; listen [::]:80; root /var/www/html/; server_name example.com; # Site 01 location /* { alias /var/www/html/home/; index index.htm index.php; try_files $uri $uri/ /home/index.html; } # Site 2 location /shadows { alias /var/www/html/shadows/; index…

VIEW QUESTION
Back To Top
Search