[RSS Feed/News] Nginx help

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hello, my domain doesnt work on https and http redirects to google.com, my nginx config:
Code:

Code:
server {
    if ($host = <domaini>) {
        return 301 https://$host$request_uri;
    } # managed by Certbot
    listen 80;
    server_name <domaini>;
    return 301 https://$host$request_uri;
}

server {
    listen 443 ssl;
    server_name <domaini>;

    location / {
        try_files $uri $uri/ /xf/index.php?$uri&$args;
        index index.php index.html;
    }

    location /install/data/ {...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom