github.com/supabase/cli@v1.168.1/internal/start/templates/custom_nginx.template (about) 1 pid pids/nginx.pid; # this setting is mandatory 2 error_log logs/error.log ${{LOG_LEVEL}}; # can be set by kong.conf 3 4 daemon ${{NGINX_DAEMON}}; # can be set by kong.conf 5 worker_processes ${{NGINX_WORKER_PROCESSES}}; # can be set by kong.conf 6 7 events { 8 multi_accept on; 9 } 10 11 http { 12 # here, we declare our custom location serving our website 13 # (or API portal) which we can optimize for serving static assets 14 server { 15 server_name email_templates; 16 listen 0.0.0.0:8088 reuseport backlog=16384; 17 18 access_log logs/email_templates_access.log; 19 error_log logs/error.log notice; 20 21 location /email { 22 autoindex on; 23 root /home/kong/templates; 24 } 25 } 26 27 # include default Kong Nginx config 28 include 'nginx-kong.conf'; 29 }