nginxCatch all domains with one config
server {
listen 80 default_server;
}
ctrl + c
default_server lets nginx know that this |
More of Nginx
- Using x-request-id header
- How to log time it took upstream to process request
- Find current version
- Using open_file_cache to optimize file access
- Using regex in map
- Using NJs example
- Using nested locations
- How to block user agent
- Using rewrite rules
- Using Nginx as a load balancer
See more codes...