添加nginx和gitea的配置文件的示例位置
This commit is contained in:
parent
a2634b193e
commit
9d65338bec
4
web.txt
4
web.txt
@ -1,4 +1,5 @@
|
||||
1.如何设置nginx代理,包括https。
|
||||
示例位置:/etc/nginx/nginx.conf
|
||||
nginx 在 http 下设置如下内容
|
||||
server {
|
||||
listen 443 ssl;
|
||||
@ -23,7 +24,8 @@ server {
|
||||
|
||||
}
|
||||
2.网页中插入一个备案号示例:
|
||||
<a class="item" href="https://beian.miit.gov.cn/">xx号-1</a>
|
||||
示例位置:/var/lib/gitea/custom/templates/custom/extra_links.tmpl
|
||||
<a class="item" href="https://beian.miit.gov.cn/">豫ICP备2021023625号-1</a>
|
||||
3.记一次cppreference nginx设置
|
||||
cppreference目录结构如下:
|
||||
root -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user