sudo nginx
# Start the server. If it's already started you'll see
# a bunch of "bind" errors. If you want to restart you
# should do a "-s quit" first.
sudo nginx -s stop
# Stop the server quickly. (Sends the SIGTERM signal.)
+--------+------+------------+ | |
| public | Desc | Membership | | |
+========+======+============+ | |
| | | | | |
+--------+------+------------+ | |
| | | | | |
+--------+------+------------+ |
sudo nginx
# Start the server. If it's already started you'll see
# a bunch of "bind" errors. If you want to restart you
# should do a "-s quit" first.
sudo nginx -s stop
# Stop the server quickly. (Sends the SIGTERM signal.)
version: "3.2" | |
services: | |
shadowsocks: | |
image: centos | |
ports: | |
- 2048:2048 | |
restart: always | |
command: bash -c "yum install python-setuptools -y && easy_install pip && pip install shadowsocks && ssserver -p 2048 -k ${PASSWORD:-DEFAULT_PASSWORD} -t 300 --fast-open --workers 3 -m aes-256-cfb --user nobody" |
git config --global url."https://github.com/".insteadOf [email protected]: | |
git config --global url."https://github.com".insteadOf git://github.com |
const path = require("path"); | |
module.exports = { | |
pages: { | |
index: "src/renderer/main.js" | |
}, | |
chainWebpack: config => { | |
config.resolve.alias.set("@", path.resolve(__dirname, "src/renderer/")); | |
config.resolve.alias.set( | |
"@components", |
log_format client_ip "$remote_addr"; | |
map $http_user_agent $whitelist_ua { | |
default 1; | |
"~*curl" 0; | |
} | |
server { | |
listen 80; |