user nginx; | |
worker_processes 1; | |
error_log stderr warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
multi_accept on; | |
} | |
http { | |
include /etc/nginx/mime.types; | |
default_type application/octet-stream; | |
access_log off; | |
server { | |
listen ${PORT}; | |
server_name slack.bazel.build; | |
return 301 https://join.slack.com/t/bazelbuild/shared_invite/zt-2clrkqibm-toMqU42FAuKybPxA0rzEPA; | |
error_page 500 502 503 504 /50x.html; | |
location = /50x.html { | |
root /usr/share/nginx/html; | |
} | |
} | |
} |