We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Редирект на другой домен nginx+php-fpm Topic is solved
Редирект на другой домен nginx+php-fpm
Подскажите пожалуйста самый простой способ, чтобы все домены на моем айпи перенаправлялись на другой внешний домен.
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Редирект на другой домен nginx+php-fpm
В файле /etc/nginx/nginx.conf замените строку
Code: Select all
include /etc/nginx/conf.d/*.conf;
Code: Select all
server {
listen 443 ssl http2 default;
listen 80 default;
return 302 http://example.com;
}