Ghi chú Gitea on Centos

Từ ChipFC Wiki
Phiên bản vào lúc 22:39, ngày 9 tháng 5 năm 2018 của BS135 (Thảo luận | đóng góp) (Run as service and autorun at startup)
(khác) ← Phiên bản cũ | xem phiên bản hiện hành (khác) | Phiên bản mới → (khác)
Bước tới: chuyển hướng, tìm kiếm


Install

Run as service and autorun at startup

sudo systemctl enable gitea
sudo systemctl start gitea
sudo systemctl status gitea
sudo systemctl stop gitea

Forward Port on Plesk

Ah, now I get it. So what you have to do in Plesk environment, navigate to your subdomain server settings and add the following additional directives for HTTP and HTTPS:

RewriteEngine On
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/