This is my virtual host configuration
server {
listen 877;
listen [::]:877;
root /wbs/carpool/www/public/;
index index.php index.html index.htm index.nginx-debian.html;
server_name example.com www.example.com;
# return 301 https://juimonos.com$request_uri;
location / {
# try_files $uri $uri/ =404;
try_files $uri $uri/ /index.php?q=$uri&$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
}
user connects to example.com, gets automatically redirected to https://example.com . certificate its present at haproxy level , provided by letsencrypt.
Connection flow is: user---> haproxy --- ubuntu20 /nginx/virtualhost
When the website is accessed by https url, the list of users wont be displayed.
developer tools shows "Blocked loading mixed active content “http:"
How to force nginx to traslate all websites to https or how to reconfigure laravel script to use https for everything?
locally i can view the list of users users shown locally , http method
from public https , users are not shown From https users not displayed, but excel exports the list
same occurs with Apache.
please help me to get this fixed.