Quantcast
Channel: EasyEngine Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 12639

How to access WordPress Website by IP Address

$
0
0

Yes, thank you.

The force-ssl-example.com.conf file is set up like so:

server { listen 80; server_name www.example.com example.com; return 301 https://example.com$request_uri; }

----->

The /var/www/example.com/conf/nginx/ssl.conf file is set up like so:

listen 443 ssl http2; ssl on; ssl_certificate /etc/letsencrypt/live/bamajr.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/bamajr.com/privkey.pem;

----->

The /etc/nginx/sites-enabled/example.com file is configured like so:

`server {

# Uncomment the following line for domain mapping
# listen 80 default_server;

server_name example.com *.example.com;

# Uncomment the following line for domain mapping
#server_name_in_redirect off;

access_log /var/log/nginx/example.com.access.log rt_cache_redis;
error_log /var/log/nginx/example.com.error.log;


root /var/www/example.com/htdocs;



index index.php index.html index.htm;


include common/redis-php7.conf;
include common/wpsubdir.conf;
include common/wpcommon-php7.conf;
include common/locations-php7.conf;
include /var/www/example.com/conf/nginx/*.conf;

}`

----->

Do you notice anything odd about this configuration?


Viewing all articles
Browse latest Browse all 12639

Trending Articles