Cecil will not work behind a proxy server? #1337
-
Hi there, I am trying out Cecil, but the "serve" command hangs if I am behind a company proxy server. But it works fine if I am out of the private network. Is Cecil doing something special behind the scene that requires certain public hosts connection? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
Hello @zemian, By default the serve command run a local server available at I suppose your company's proxy doesn't allows So, you can change the host and the port used by Cecil with the following options:
e.g.: Docs: https://cecil.app/documentation/commands/#serve. I hope I've helped you ! 😃 |
Beta Was this translation helpful? Give feedback.
-
Hey @ArnaudLigny thanks for the reply! No, my company proxy does not block Running with $ php cecil.phar serve -v
Building website...
Path: /myproject
Config: /myproject/config.yml
Cache: /myproject/.cache
1. Loading content
2. Creating pages
3. Converting pages |
Beta Was this translation helpful? Give feedback.
-
I think I figured it out why it hangs. I read the Cecil docs that it will parse images and create few responsive versions of it. The sample ![Octocat](https://github.githubassets.com/images/icons/emoji/octocat.png) Removing this line works! So I am guessing |
Beta Was this translation helpful? Give feedback.
-
Hi @ArnaudLigny , actually this brings me to next question. The docs https://cecil.app/documentation/configuration#assets says images responsive creation is turn off by default, and yet it's still generating it. In fact I explicitly set it in images:
enabled: false
optimize:
enabled: false
responsive:
enabled: false |
Beta Was this translation helpful? Give feedback.
-
It should be fixed with the feature mentioned in PR #1342. |
Beta Was this translation helpful? Give feedback.
It should be fixed with the feature mentioned in PR #1342.