mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
corrected paths in scripts
This commit is contained in:
parent
b9cded9162
commit
60a86da5d2
@ -117,7 +117,7 @@ server {
|
|||||||
|
|
||||||
# TODO this could be a performance optimization
|
# TODO this could be a performance optimization
|
||||||
#location /vue {
|
#location /vue {
|
||||||
# alias /var/www/html/gradido/frontend/dist;
|
# alias /var/www/html/gradido/frontend/build;
|
||||||
# index index.html;
|
# index index.html;
|
||||||
#
|
#
|
||||||
# location ~* \.(png)$ {
|
# location ~* \.(png)$ {
|
||||||
|
|||||||
@ -103,7 +103,7 @@ server {
|
|||||||
|
|
||||||
# TODO this could be a performance optimization
|
# TODO this could be a performance optimization
|
||||||
#location /vue {
|
#location /vue {
|
||||||
# alias /var/www/html/gradido/frontend/dist;
|
# alias /var/www/html/gradido/frontend/build;
|
||||||
# index index.html;
|
# index index.html;
|
||||||
#
|
#
|
||||||
# location ~* \.(png)$ {
|
# location ~* \.(png)$ {
|
||||||
|
|||||||
@ -15,6 +15,6 @@ export NVM_DIR="/root/.nvm"
|
|||||||
$NPM_BIN install
|
$NPM_BIN install
|
||||||
$NPM_BIN run build
|
$NPM_BIN run build
|
||||||
# prezip for faster deliver throw nginx
|
# prezip for faster deliver throw nginx
|
||||||
cd dist
|
cd build
|
||||||
find . -type f -name "*.css" -exec gzip -9 -k {} \;
|
find . -type f -name "*.css" -exec gzip -9 -k {} \;
|
||||||
find . -type f -name "*.js" -exec gzip -9 -k {} \;
|
find . -type f -name "*.js" -exec gzip -9 -k {} \;
|
||||||
|
|||||||
@ -71,7 +71,7 @@ server {
|
|||||||
|
|
||||||
# TODO this could be a performance optimization
|
# TODO this could be a performance optimization
|
||||||
#location /vue {
|
#location /vue {
|
||||||
# alias /var/www/html/gradido/frontend/dist;
|
# alias /var/www/html/gradido/frontend/build;
|
||||||
# index index.html;
|
# index index.html;
|
||||||
#
|
#
|
||||||
# location ~* \.(png)$ {
|
# location ~* \.(png)$ {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user