header change fail removal
This commit is contained in:
parent
8dd1855399
commit
0b780adbc3
|
|
@ -84,11 +84,11 @@ services:
|
|||
container_name: portfolio-nuxt
|
||||
build: ./portfolio-nuxt
|
||||
# To rebuild the site and the server run this
|
||||
#command: bash -c "npm run build && node .output/server/index.mjs"
|
||||
command: bash -c "npm run build && node .output/server/index.mjs"
|
||||
# To just start the server run this
|
||||
#command: bash -c "node .output/server/index.mjs"
|
||||
# To start the server in dev mode
|
||||
command: bash -c "npm run dev -o"
|
||||
#command: bash -c "npm run dev -o"
|
||||
volumes:
|
||||
- portfolio-nuxt:/src/node_modules
|
||||
- ./portfolio-nuxt:/src
|
||||
|
|
|
|||
|
|
@ -1,2 +1,12 @@
|
|||
## Start of configuration add by letsencrypt container
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
auth_basic off;
|
||||
auth_request off;
|
||||
allow all;
|
||||
root /usr/share/nginx/html;
|
||||
try_files $uri =404;
|
||||
break;
|
||||
}
|
||||
## End of configuration add by letsencrypt container
|
||||
include /etc/nginx/bots.d/ddos.conf;
|
||||
include /etc/nginx/bots.d/blockbots.conf;
|
||||
|
|
|
|||
|
|
@ -9,12 +9,6 @@ location ^~ /.well-known/acme-challenge/ {
|
|||
}
|
||||
## End of configuration add by letsencrypt container
|
||||
|
||||
# This is to make sure that the pdf opens in browser
|
||||
|
||||
location ~ ^/api/(.*).pdf$ {
|
||||
proxy_set_header content-type "application/pdf";
|
||||
}
|
||||
|
||||
# The following are all for collabora routing
|
||||
|
||||
# static files
|
||||
|
|
|
|||
Loading…
Reference in a new issue