Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(workflow): add main readme and deployment folder #95

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions deployment/nginx/default.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
server {
listen 80 default_server;
listen [::]:80 default_server;

location / {
# proxy_http_version 1.1;
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection 'upgrade';
# proxy_set_header X-Forwarded-For $remote_addr;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header Host $host;
# proxy_buffers 4 512k;
# proxy_buffer_size 256k;

# proxy_pass http://127.0.0.1:80/;
# proxy_redirect off;

root /var/www/localhost/htdocs/ocelot.social/docs/.vuepress/dist;
index index.html;

try_files $uri $uri/ =404;

# access_log /var/www/localhost/htdocs/ocelot.social/log/nginx/access.log;
# error_log /var/www/localhost/htdocs/ocelot.social/log/nginx/error.log;
}
# location /hooks/ {
# proxy_http_version 1.1;
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection 'upgrade';
# proxy_set_header X-Forwarded-For $remote_addr;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header Host $host;

# proxy_pass http://127.0.0.1:9000/hooks/;
# proxy_redirect off;

# access_log /var/www/localhost/htdocs/ocelot.social/log/nginx-access.hooks.log hooks_log;
# error_log /var/www/localhost/htdocs/ocelot.social/log/nginx-error.backend.hook.log warn;
# }
}
3 changes: 3 additions & 0 deletions log/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!.gitignore
!nginx
2 changes: 2 additions & 0 deletions log/nginx/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ocelot.social",
"version": "1.0.0",
"description": "The ocelot.social website",
"author": "ocelot.social Community",
"author": "Ocelot.Social Community",
"license": "MIT",
"private": false,
"scripts": {
Expand Down