# Non-standard port breaks uploads

**URL:** https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022
**Category:** Self-hosting
**Tags:** uploads
**Created:** [August 22, 2016, 7:05pm UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022 "2016-08-22T19:05:04Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [August 22, 2016, 9:25pm UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022/10 "2016-08-22T21:25:48Z")

</div>

Here’s my current HAProxy:

```plaintext
        timeout queue 1m
        timeout connect 10s
        timeout client 1m
        timeout server 1m
        timeout http-keep-alive 10s
        timeout check 10s
        maxconn 3000
frontend http-in
        bind *:80
        default_backend main_apache_sites/html
        # Define hosts
        acl host_discourse hdr(host) -i leet.arc.rpi.edu
        # figure out which one to use
        use_backend discourse_docker if host_discourse

backend main_apache_sites
    server server1 127.0.0.1:8080 cookie A check
backend discourse_docker
    server server2 127.0.0.1:8888 cookie A check

```

Note, host is not connected to internet, you must be on campus network to connect. All the other (existing) sites are behind Apache, so I don’t think I need more `acl` lines.

---

_[View the full topic](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022)._
