|  | @@ -40,7 +40,7 @@ SHOW_ON_ABOUT=1
 | 
	
		
			
			| 40 | 40 |  MATRIX_DATA_DIR='/var/lib/matrix'
 | 
	
		
			
			| 41 | 41 |  MATRIX_HTTP_PORT=8558
 | 
	
		
			
			| 42 | 42 |  MATRIX_ID_HTTP_PORT=8557
 | 
	
		
			
			| 43 |  | -MATRIX_PORT=8448
 | 
	
		
			
			|  | 43 | +MATRIX_PORT=8008
 | 
	
		
			
			| 44 | 44 |  MATRIX_ID_PORT=8081
 | 
	
		
			
			| 45 | 45 |  MATRIX_ONION_PORT=8109
 | 
	
		
			
			| 46 | 46 |  MATRIX_ID_ONION_PORT=8111
 | 
	
	
		
			
			|  | @@ -89,7 +89,7 @@ function matrix_nginx {
 | 
	
		
			
			| 89 | 89 |              echo '  location / {' >> $matrix_nginx_site
 | 
	
		
			
			| 90 | 90 |              function_check nginx_limits
 | 
	
		
			
			| 91 | 91 |              nginx_limits ${DEFAULT_DOMAIN_NAME} '15m'
 | 
	
		
			
			| 92 |  | -            echo "      proxy_pass http://localhost:${MATRIX_PORT};" >> $matrix_nginx_site
 | 
	
		
			
			|  | 92 | +            echo "      proxy_pass http://localhost:${MATRIX_PORT}/_matrix;" >> $matrix_nginx_site
 | 
	
		
			
			| 93 | 93 |              echo '      proxy_set_header X-Forwarded-For $remote_addr;' >> $matrix_nginx_site
 | 
	
		
			
			| 94 | 94 |              echo '  }' >> $matrix_nginx_site
 | 
	
		
			
			| 95 | 95 |              echo '}' >> $matrix_nginx_site
 | 
	
	
		
			
			|  | @@ -142,7 +142,7 @@ function matrix_nginx {
 | 
	
		
			
			| 142 | 142 |          echo '  location / {' >> $matrix_nginx_site
 | 
	
		
			
			| 143 | 143 |          function_check nginx_limits
 | 
	
		
			
			| 144 | 144 |          nginx_limits $DEFAULT_DOMAIN_NAME '15m'
 | 
	
		
			
			| 145 |  | -        echo "      proxy_pass http://localhost:${MATRIX_PORT};" >> $matrix_nginx_site
 | 
	
		
			
			|  | 145 | +        echo "      proxy_pass http://localhost:${MATRIX_PORT}/_matrix;" >> $matrix_nginx_site
 | 
	
		
			
			| 146 | 146 |          echo '      proxy_set_header X-Forwarded-For $remote_addr;' >> $matrix_nginx_site
 | 
	
		
			
			| 147 | 147 |          echo '  }' >> $matrix_nginx_site
 | 
	
		
			
			| 148 | 148 |          echo '}' >> $matrix_nginx_site
 |