Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 4000;
- location / {
- root /usr/share/nginx/html;
- index index.html index.htm;
- try_files $uri $uri/ /index.html =404;
- }
- }
- nc -z localhost 4000
- nc -z localhost 80
- Connection to localhost 80 port [tcp/http] succeeded!
Add Comment
Please, Sign In to add comment