我已安装免费Artifactory Server(社区版和版本许可证7.29.8修订版72908900)
因此当我无法配置URL HTTP或HTTPS URL时
当我启动Artifactory web在http(管理==〉常规==〉HTTP设置)不可用。
我已经安装了NGINX服务器,但无法在https中启动Artifactory。
我对NGIX和Artifactory使用相同的VM。
我找到了此文档:第一个
我的配置nginx服务器:
## add ssl entries when https has been set in config
##ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
ssl_certificate /etc/ssl/certs/domain.crt;
ssl_certificate_key /etc/ssl/private/domain.key;
ssl_session_cache shared:SSL:1m;
##ssl_prefer_server_ciphers on;
## server configuration
server {
listen 443 ssl;
listen 8080;
server_name <Server_Name>;
if ($http_x_forwarded_proto = '') {
set $http_x_forwarded_proto $scheme;
}
## Application specific logs
## access_log /var/log/nginx/<Server_Name>-access.log timing;
## error_log /var/log/nginx/<Server_Name>-error.log;
rewrite ^/$ /ui/ redirect;
rewrite ^/ui$ /ui/ redirect;
chunked_transfer_encoding on;
client_max_body_size 0;
location / {
proxy_read_timeout 2400s;
proxy_pass_header Server;
proxy_cookie_path ~*^/.* /;
proxy_buffer_size 128k;
proxy_buffers 40 128k;
proxy_busy_buffers_size 128k;
proxy_pass https://<Artifactory_IP>:8082;
proxy_set_header X-JFrog-Override-Base-Url $http_x_forwarded_proto://$host:$server_port;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location ~ ^/artifactory/ {
proxy_pass https://<Artifactory_IP>:8081;
}
}
}
全部KO
你能帮我吗?
我只是想在https://x.x.x.x:80802中启动artifactory
1条答案
按热度按时间6fe3ivhb1#
Artifactory Community Edition中不支持HTTP设置。也就是说,您可能需要检查自由层选项以测试此配置和其他功能,请访问:https://jfrog.com/start-free
类似查询:HTTPS设置在新启动的artifactory-cpp-ce中被禁用-如何启用它?