Title: archmonk's Replies | WordPress.org

---

# archmonk

  [  ](https://wordpress.org/support/users/archmonk/)

 *   [Profile](https://wordpress.org/support/users/archmonk/)
 *   [Topics Started](https://wordpress.org/support/users/archmonk/topics/)
 *   [Replies Created](https://wordpress.org/support/users/archmonk/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/archmonk/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/archmonk/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/archmonk/engagements/)
 *   [Favorites](https://wordpress.org/support/users/archmonk/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [webpage redirect llop](https://wordpress.org/support/topic/webpage-redirect-llop/)
 *  Thread Starter [archmonk](https://wordpress.org/support/users/archmonk/)
 * (@archmonk)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/webpage-redirect-llop/#post-4061830)
 * It turned out that i needed to comment a few lines in the nginx config file in
   sites-enabled.
 *     ```
       server {
               listen   80; 
   
               root /var/www/;
               index index.php index.html index.htm;
   
               server_name example.com; 
   
               location / {
       had to comment :
       -> try_files $uri $uri/ /index.php;
       ->}
       ->    location ~ \.php$ {
   
               proxy_set_header X-Real-IP  $remote_addr;
               proxy_set_header X-Forwarded-For $remote_addr;
               proxy_set_header Host $host;
               proxy_pass http://127.0.0.1:8080;
   
                }
   
                location ~ /\.ht {
                       deny all;
               }
       }
       ```
   

Viewing 1 replies (of 1 total)