Search found 54 matches
- Thu Dec 12, 2013 4:56 am
- Forum: General Discussion
- Topic: Vesta forum ssl connection
- Replies: 3
- Views: 4522
Re: Vesta forum ssl connection
Nice catch I wouldn't use real information in here but yea if you do make sure you use ssl :D
- Thu Dec 12, 2013 4:54 am
- Forum: Modification & Patches
- Topic: Forward ip to domain - SSL
- Replies: 19
- Views: 25976
Re: Forward ip to domain - SSL
Ok so apparently I wasn't writing the correct nginx code. All you have to do is edit the above mentioned nginx.conf if ($http_host !~* ^(www\.)?example.com:8083$) { rewrite ^(.*)$ https://www.example.com:8083$1 permanent; } # Vhost server { listen 8083; server_name _; root /usr/local/vesta/web; char...
- Thu Dec 12, 2013 2:35 am
- Forum: Modification & Patches
- Topic: Forward ip to domain - SSL
- Replies: 19
- Views: 25976
Re: Forward ip to domain - SSL
This seems to work in /usr/local/vesta/web/index.php $redirect = 'www.domain.com:'.$_SERVER['SERVER_PORT']; if ($_SERVER['HTTP_HOST'] != $redirect) { header("Location: https://$redirect/"); exit; } The only issue is you will have to do this for every /dir/ I cant find where to edit this globally. .h...
- Wed Dec 11, 2013 9:13 pm
- Forum: Modification & Patches
- Topic: Forward ip to domain - SSL
- Replies: 19
- Views: 25976
Forward ip to domain - SSL
Hello I updated VestaCp with new ssl certificates but they don't work with my ip only with my domain. So I have been playing with everything to make VestaCp rewrite or forward to my domain but I cant find a way to do it. I tried adding .htaccess and editing the nginx file but nothing seams to work c...