I have the following nginx config, e.g.
server {
listen 80;
server_name example.com
allow 127.0.0.0/8;
When I restart, it warn me:
Restarting nginx: nginx: [warn] server name "127.0.0.0/8" has suspicious
symbols in /etc/nginx/sites-enabled/xxx
Any idea?
;at the end, and it was causing404 Not Found nginxin my browser andserver name "/var/www/mysite" has suspicious symbols in /etc/nginx/sites-available/mysite.conf:8in my/var/log/nginx/error.log. – Ryan Apr 26 '19 at 11:34