nginxCatch all domains with one config
server {
listen 80 default_server;
}
ctrl + c
default_server lets nginx know that this |
More of Nginx
- Using open_file_cache to optimize file access
- How to block user agent
- Using regex in map
- Using NJs example
- Using Python app with Nginx
- Proxying websocket server with Nginx
- Install NJS (Nginx Javascript) module in Ubuntu 22.04
- Access log in JSON format
- Redirect www to non-www
- Reload configuration without connections dropping
See more codes...