The original post: /r/nginx by /u/Jolly-Temperature-63 on 2024-08-07 09:01:00.
I used this config file to host a frontend project
backend is also running on the same server but i haven’t hosted and it is running http://localhost:3000
when i try to access the frontend i get “locked loading mixed active content”
server {
listen 14800 ssl;
server_name x.x.x.x;
ssl_certificate /etc/nginx/certs/server.crt;
ssl_certificate_key /etc/nginx/certs/server.key;
root /var/www/eticket-admin;
index index.html index.htm index.nginx-debian.html;
location / {
try_files $uri $uri/ =404;
try_files $uri $uri/ /index.html;
}
}
You must log in or register to comment.