Skip to content

Commit

Permalink
feat: wikijsをnginxでリバースプロキシ
Browse files Browse the repository at this point in the history
  • Loading branch information
CASL0 committed Dec 22, 2024
1 parent 6d046d8 commit 87cc806
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions inventories/group_vars/wikijs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ wikijs_db_password: !vault |
3830333462356236300a646463383439373335663139663931313263396436623434613164323630
3433
wikijs_db_name: wikijs
wikijs_bind_ip: 127.0.0.1
nginx_servers:
- server_name: wiki.casl0.com
listen: 80
access_log: /var/log/nginx/wiki.access.log main
location:
- path: /
proxy_pass: http://localhost:3000/
5 changes: 5 additions & 0 deletions playbooks/wikijs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@
hosts: wikijs
roles:
- wikijs
- name: Install nginx
hosts: wikijs
roles:
- nginx
become: true

0 comments on commit 87cc806

Please sign in to comment.