Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ---------------------
- # custom_nginx.template
- # ---------------------
- worker_processes ${{NGINX_WORKER_PROCESSES}};
- daemon ${{NGINX_DAEMON}};
- pid pids/nginx.pid;
- error_log logs/error.log ${{LOG_LEVEL}};
- proxy_cache_path ~ levels=1:2 keys_zone=maincache:25m max_size=25m inactive=60m use_temp_path=off;
- events {
- use epoll; # custom setting
- multi_accept on;
- }
- http {
- include 'nginx-kong.conf';
- server {
- server_name kong;
- location / {
- proxy_cache my_cache;
- proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement