mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-13 01:36:22 +00:00
refactor: update project config files
This commit is contained in:
committed by
Rainer Killinger
parent
30a2d3dcf4
commit
9512bca329
96
.gitignore
vendored
96
.gitignore
vendored
@@ -1,5 +1,95 @@
|
||||
lib/
|
||||
start.sh
|
||||
.idea/
|
||||
# Logs
|
||||
logs/
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
*.seed
|
||||
*.pid.lock
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov/
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage/
|
||||
|
||||
# nyc test coverage
|
||||
.nyc_output
|
||||
|
||||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||
.grunt
|
||||
|
||||
# Bower dependency directory (https://bower.io/)
|
||||
bower_components/
|
||||
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
# Dependency directories
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
|
||||
# TypeScript v1 declaration files
|
||||
typings/
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm/
|
||||
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
|
||||
# Output of 'npm pack'
|
||||
*.tgz
|
||||
|
||||
# Yarn Integrity file
|
||||
.yarn-integrity
|
||||
|
||||
# dotenv environment variables file
|
||||
.env
|
||||
|
||||
# parcel-bundler cache (https://parceljs.org/)
|
||||
.cache
|
||||
|
||||
# next.js build output
|
||||
.next
|
||||
|
||||
# nuxt.js build output
|
||||
.nuxt
|
||||
|
||||
# vuepress build output
|
||||
.vuepress/dist
|
||||
|
||||
# Serverless directories
|
||||
.serverless/
|
||||
|
||||
# FuseBox cache
|
||||
.fusebox/
|
||||
|
||||
#DynamoDB Local files
|
||||
.dynamodb/
|
||||
|
||||
########## end of https://github.com/github/gitignore/blob/master/Node.gitignore
|
||||
|
||||
# ignore ide files
|
||||
.idea/
|
||||
.vscode/
|
||||
|
||||
# ignore lib
|
||||
lib/
|
||||
|
||||
# ignore docs
|
||||
docs/
|
||||
|
||||
# Certificates
|
||||
*.crt
|
||||
*.key
|
||||
@@ -2,7 +2,6 @@
|
||||
# See https://stackoverflow.com/a/29932318
|
||||
/*
|
||||
# Except these files/folders
|
||||
!docs
|
||||
!lib
|
||||
!LICENSE
|
||||
!package.json
|
||||
|
||||
30
nginx.conf
30
nginx.conf
@@ -1,26 +1,26 @@
|
||||
worker_processes 1;
|
||||
|
||||
error_log stderr;
|
||||
pid nginx.pid;
|
||||
daemon off;
|
||||
pid nginx.pid;
|
||||
daemon off;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
access_log /dev/stdout;
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
access_log /dev/stdout;
|
||||
|
||||
proxy_temp_path /tmp/proxy;
|
||||
client_body_temp_path /tmp/body;
|
||||
fastcgi_temp_path /tmp/fastcgi;
|
||||
proxy_temp_path /tmp/proxy;
|
||||
client_body_temp_path /tmp/body;
|
||||
fastcgi_temp_path /tmp/fastcgi;
|
||||
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
gzip on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
include /etc/nginx/conf.d/*;
|
||||
sendfile on;
|
||||
# tcp_nopush on;
|
||||
gzip on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
include /etc/nginx/conf.d/*;
|
||||
}
|
||||
|
||||
@@ -6,12 +6,11 @@
|
||||
limit_req_zone $binary_remote_addr zone=customstappslimit:10m rate=20r/s;
|
||||
|
||||
server {
|
||||
{{{ listener }}}
|
||||
{{{ listener }}}
|
||||
|
||||
{{{ visibleRoutes }}}
|
||||
{{{ visibleRoutes }}}
|
||||
|
||||
{{{ hiddenRoutes }}}
|
||||
{{{ hiddenRoutes }}}
|
||||
|
||||
{{{ staticRoute }}}
|
||||
{{{ staticRoute }}}
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"extends": "./node_modules/@openstapps/configuration/tsconfig.json",
|
||||
"exclude": [
|
||||
"./config/",
|
||||
"./test/",
|
||||
"./lib/"
|
||||
"./lib/",
|
||||
"./test/"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"extends": ["./node_modules/@openstapps/configuration/tslint.json"]
|
||||
"extends": "./node_modules/@openstapps/configuration/tslint.json"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user