Server Setup:
I've tried the following within /etc/nginx/nginx.conf, and several variations thereof, without success:
server {
server_name xx.xx.xx.xx;
return 301 https://domain.com$request_uri
}
I've also tried the following within...
NGINX IP to Domain Redirect
- VPS
- Plesk 12.5
- Centos 7
- NGINX as reverse proxy to Apache 2.4
- Path to NGINX config: /etc/nginx/nginx.conf
I've tried the following within /etc/nginx/nginx.conf, and several variations thereof, without success:
server {
server_name xx.xx.xx.xx;
return 301 https://domain.com$request_uri
}
I've also tried the following within...
NGINX IP to Domain Redirect