nginxCatch all domains with one config
server {
listen 80 default_server;
}
ctrl + c
default_server lets nginx know that this |
More of Nginx
- Using regex in map
- Using open_file_cache to optimize file access
- Access log in JSON format
- How to use location config
- Using x-request-id header
- Using proxy_redirect
- Using NJs example (JS code file)
- Reload configuration without connections dropping
- Using location with regex
- Using nested locations
See more codes...