We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94689fc commit 545b037Copy full SHA for 545b037
deploy/nginx.conf
@@ -75,4 +75,10 @@ server {
75
location / {
76
proxy_pass http://127.0.0.1:8081;
77
}
78
+
79
+ # Serve JS files from the output directory. We use a regular expression
80
+ # match to ensure that we only serve JS files.
81
+ location ~ ^/output/(.+\.js)$ {
82
+ alias /var/www/trypurescript/staging/.psci_modules/node_modules/$1;
83
+ }
84
0 commit comments