wehwet adlı üyeden alıntı: mesajı görüntüle
https://www.zulfumehmet.com/cloudfla...s-yonlendirme/ bu makaleyi incelediniz mi?. Sitedeki linklerinizi https olarak düzeltiniz yada linkleri //www.siteadi.com şeklinde düzenleyiniz.
ilginiz için teşekkürler hocam ama CF üzerinden yönlendirme yapmak istemedim bu yüzden direk kendi sunucumdan yönlendirme yapmak istedim


Reox adlı üyeden alıntı: mesajı görüntüle
@Azrael;
hocam dün mobilde görmüştüm cevap veremedim, eski bir sitede kullanıyodum dizinleri ve urlleri değiştirirsen çalışır
    server {
        server_name  reoxgame.com www.reoxgame.com;
        if ($http_host = "reoxgame.com") {
            rewrite ^(.*) https://www.reoxgame.com$request_uri? permanent;
        }
                if ($http_host = "reoxgame.com") {
            rewrite ^(.*) https://www.reoxgame.com$request_uri? permanent;
        }
        location / {
            root   /home/bumuoada/public_html;
            index index.php index.html index.htm;
        }
        error_page  404              /404.html;
        location = /404.html {
            root   /home/bumuoada/public_html;
        }
        # redirect server error pages to the static page /50x.html
        #
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   /home/bumuoada/public_html;
        }
        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
        #
        location ~ \.php$ {
            root           /home/bumuoada/public_html;
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  /home/bumuoada/public_html$fastcgi_script_name;
            include        fastcgi_params;
        }
    }
    
            server {
       listen 80;
       rewrite ^(.*) https://www.reoxgame.com$request_uri? permanent;
 }
Çok teşekkür ederim hocam ilgili kodları aradan tırnaklayarak kendi conf dosyama uyguladım ve tam istediğim gibi sorunsuz yönleniyor : )