This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
сервис_http [2023/03/20 08:21] val [Прокси "красивого" URL в приложение (пример 3)] |
сервис_http [2023/09/11 11:52] val [Поддержка протокола HTTPS] |
||
---|---|---|---|
Line 539: | Line 539: | ||
===== Поддержка протокола HTTPS ===== | ===== Поддержка протокола HTTPS ===== | ||
+ | * [[Letsencrypt Certbot]] | ||
* [[https://stackoverflow.com/questions/31370454/sslcertificatechainfile-is-obsolete|SSLCertificateChainFile is now obsolete, and any intermediate certificates are supposed to be included in the server certificate file]] | * [[https://stackoverflow.com/questions/31370454/sslcertificatechainfile-is-obsolete|SSLCertificateChainFile is now obsolete, and any intermediate certificates are supposed to be included in the server certificate file]] | ||
==== Debian/Ubuntu ==== | ==== Debian/Ubuntu ==== | ||
Line 937: | Line 938: | ||
# host www | # host www | ||
# host autoconfig | # host autoconfig | ||
- | # host wpad | ||
# host corpX.un | # host corpX.un | ||
... has address 192.168.X.10 | ... has address 192.168.X.10 | ||
Line 970: | Line 970: | ||
# server { | # server { | ||
# listen 80; | # listen 80; | ||
- | # server_name autoconfig.corpX.un wpad.corpX.un; | + | # server_name autoconfig.corpX.un; |
# location / { | # location / { | ||
# proxy_pass http://gate.corpX.un:81/; | # proxy_pass http://gate.corpX.un:81/; | ||
Line 976: | Line 976: | ||
# } | # } | ||
</code><code> | </code><code> | ||
- | root@server# cat /var/opt/gitlab/nginx/conf/nginx.conf | + | # cat /etc/gitlab/gitlab.rb |
+ | </code><code> | ||
+ | ... | ||
+ | nginx['custom_nginx_config'] = "include /var/opt/gitlab/nginx/conf/corpX.conf;" | ||
+ | ... | ||
+ | </code> | ||
+ | * [[Инструмент GitLab#Проверка конфигурации и перезапуск]] | ||
+ | <code> | ||
+ | root@server# less /var/opt/gitlab/nginx/conf/nginx.conf | ||
</code><code> | </code><code> | ||
... | ... |