Nginx configuration?
-
Hello, I am testing out this plugin, but it does not work so far.
I had entered my owned domain to ‘Enter Mapped Domain’ and assigned one of my WP pages.
For that domain, I have a server block on Nginx, and the root is the same as my WP installation. Let me give you an example case of my Nginx server block.
server {
listen 443 ssl;
server_name newdomain.com;
root /var/www/websites/olddomain;
index index.php index.html;
location ~* \.(eot|ttf|otf|woff|woff2)$ {
add_header Access-Control-Allow-Origin *;
}
access_log /var/log/nginx/newdomain.com.access.log;
error_log /var/log/nginx/newdomain.com.error.log;
ssl_certificate /etc/nginx/ssl/newdomain.crt;
ssl_certificate_key /etc/nginx/ssl/newdomain.key;
}With above Nginx server block, I thought all traffics to newdomain.com goes to the root (where I installed WP for olddomain), and your plugin catches that traffic and forward it to newdomain.com. Plz let me know if I miss anything here.
Just in case. I created a new server block for newdomain.com, because it is different from the old domain, thus I need new ssl cert.
Looks like most needed functions are serviced in pro version, which I intend to pay for, but I would like to confirm that it really works.
- The topic ‘Nginx configuration?’ is closed to new replies.