Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions deploy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,10 @@ server {
location / {
proxy_pass http://127.0.0.1:8081;
}

# Serve JS files from the output directory. We use a regular expression
# match to ensure that we only serve JS files.
location ~ ^/output/(.+\.js)$ {
alias /var/www/trypurescript/staging/.psci_modules/node_modules/$1;
}
}