| 58 | == Using port 443 == |
| 59 | If you are not running a webserver with https support on your server (i.e., you are not using port 443), you can make the trac URL a bit more user-friendly -- simply https://url/trac -- by specifying port 443 (the default https port) for the stunnel. In /etc/stunnel/stunnel-tracd.conf set: |
| 60 | {{{ |
| 61 | [tracd] |
| 62 | accept = 443 |
| 63 | connect = localhost:8992 |
| 64 | }}} |
| 65 | On RHEL/CentOS with iptables, remember to unblock that port in /etc/sysconfig/iptables: |
| 66 | {{{ |
| 67 | -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT |
| 68 | }}} |
| 69 | (above tested on RHEL 5.6) |
| 70 | |
| 71 | |