Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contributor needed - PHP Configuration generator #38

Closed
maximejobin opened this issue Sep 23, 2016 · 1 comment
Closed

Contributor needed - PHP Configuration generator #38

maximejobin opened this issue Sep 23, 2016 · 1 comment
Milestone

Comments

@maximejobin
Copy link
Collaborator

maximejobin commented Sep 23, 2016

Many people (#38, #24) asked why their headers were not working correctly with Rocket-Nginx.

The reason is: because of the way Nginx is built. (More info here)

Rocket-Nginx version 1.2 comes with comments in the script to make things easier to generate your configuration. The configuration generator is what needs to be built.

Here is what is needed:

  1. A HTML file made of 6 textareas
  • HTTP/HTTPS headers
  • GZIP headers
  • NON-Gzip headers
  • CSS headers
  • JS headers
  • Media headers
  1. Rocket-Nginx users would then add their headers in the specific textareas.

  2. When the user hits submit, the script would then get the original script found here in PHP and the values in each textbox would be inserted in the configuration at the right place:

  • HTTP/HTTPS headers would be inserted next to : #!# HEADER_HTTP #!#
  • GZIP headers would be inserted next to : #!# HEADER_GZIP #!#
  • NON-Gzip headers would be inserted next to : #!# HEADER_NON_GZIP #!#
  • CSS headers would be inserted next to : #!# HEADER_CSS #!#
  • JS headers would be inserted next to : #!# HEADER_JS #!#
  • Media headers would be inserted next to : #!# HEADER_MEDIAS #!#
  1. It would be nice if the values were kept in the cookies for future use.

Let me know if you want to help! :-)

@maximejobin maximejobin changed the title Contributor needed - Contributor needed - PHP Configuration generator Sep 23, 2016
@maximejobin maximejobin added this to the 2.0 milestone Apr 9, 2017
@maximejobin
Copy link
Collaborator Author

Fixed in 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant