this post was submitted on 07 Aug 2024
1 points (100.0% liked)

nginx

4 readers
1 users here now

The nginx community on Reddit. Reddit gives you the best of the internet in one place.

founded 1 year ago
MODERATORS
 
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;

}

}

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here