My server blocks access to Google.com, but YouTrack needs to use Google services to complete human-machine verification. I have a proxy service running on 10.1.1.1:7890. How should I configure it so that YouTrack can use 10.1.1.1:7890 when accessing Google? I use Docker to run YouTrack.
Let YouTrack use the 10.1.1.1:7890 proxy to access Google
services:
youtrack:
image: jetbrains/youtrack:2024.3.52635
container_name: "youtrack"
restart: unless-stopped
user: root
environment:
- http.proxyHost=10.1.1.1
- http.proxyPort=7890
- https.proxyHost=10.1.1.1
- https.proxyPort=7890
volumes:
- ./data:/opt/youtrack/data
- ./conf:/opt/youtrack/conf
- ./logs:/opt/youtrack/logs
- ./backups:/opt/youtrack/backups
or
-Dhttp.proxyHost=10.1.1.1 -Dhttp.proxyPort=7890 -Dhttps.proxyHost=10.1.1.1 -Dhttps.proxyPort=7890
New contributor
冰上云梦 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.