Skip to content

Commit

Permalink
build: fix script.conf nginx, get the script only
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 5, 2023
1 parent 824d7ee commit c8e090a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nginx/templates/script.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ server {
add_header 'Access-Control-Allow-Headers' 'traceparent,tracestate';

location / {
# Alias to the script file
alias /usr/share/nginx/html/fmtm/install.sh;
# Serve FMTM install script /usr/share/nginx/html/fmtm/install.sh
root /usr/share/nginx/html/fmtm;
try_files /install.sh /install.sh;

# Allow executing shell scripts directly in the browser
default_type text/plain;
Expand Down

0 comments on commit c8e090a

Please sign in to comment.