Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

nginx: Serve full app from localhost.

Alex Vandivere2e0c72a8018
diff --git a/puppet/zulip/templates/nginx/zulip-enterprise.template.erb b/puppet/zulip/templates/nginx/zulip-enterprise.template.erb
index 91c098380ff..af4a7feb554 100644
--- a/puppet/zulip/templates/nginx/zulip-enterprise.template.erb
+++ b/puppet/zulip/templates/nginx/zulip-enterprise.template.erb
@@ -5,10 +5,10 @@ server {
<% else -%>
listen 127.0.0.1:80;
<% end -%>
- location /api/internal/ {
- include /etc/nginx/zulip-include/api_headers;
- include uwsgi_params;
+ location /local-static {
+ alias /home/zulip/local-static;
}
+ include /etc/nginx/zulip-include/app;
include /etc/nginx/zulip-include/localhost.d/*.conf;
}