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

Feature Request: Documentation page with starting point configs for IIS and Apache #1100

Closed
aligneddev opened this Issue May 24, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@aligneddev

aligneddev commented May 24, 2018

I'd like to have a fast and secure web.config starting point that will past most/all of the linting rules to start off. I could go through all the lint errors and add those in (and learn a lot in the process), but I'd like to have a better starting point the Visual Studio > New Project.

Proposal:
add a sonarwhal command line gen-webconfig option

  • prompt for the type of config
    • IIS/10
    • iisnode

Include all of the best practices that will work on an Azure AppService environment.

Alternative: add a web.config example in the github repository. I've been looking at https://github.com/sonarwhal/sonarwhal.com/blob/master/web.config, but that's for iisnode.

@alrra

This comment has been minimized.

Member

alrra commented May 24, 2018

I could go through all the lint errors and add those in (and learn a lot in the process),

The documentation for every rule that can be fixed by configuring the server does contain examples of server configs (e.g.: for rule-http-compression).

I could go through all

But, I see your point.

Alternative: add a web.config example in the github repository. I've been looking

@aligneddev What do you think about have a documentation page with the full (copy-paste ready) server configs?

@aligneddev

This comment has been minimized.

aligneddev commented May 24, 2018

A documentation page would be great!

@alrra alrra self-assigned this Jul 26, 2018

@molant molant changed the title from Feature Request: Generate a web.config starting point for IIS to Feature Request: Documentation page with starting point configs for IIS and Apache Aug 8, 2018

@molant molant self-assigned this Aug 8, 2018

molant added a commit to molant/hint that referenced this issue Aug 8, 2018

@molant molant referenced this issue Aug 8, 2018

Closed

Docs: Add full `web.config` example #1224

3 of 3 tasks complete
@molant

This comment has been minimized.

Member

molant commented Aug 8, 2018

There's a PR (#1224) with a generic web.config. @aligneddev feel free to comment on it!

molant added a commit to molant/hint that referenced this issue Aug 8, 2018

molant added a commit to molant/hint that referenced this issue Aug 8, 2018

molant added a commit to molant/hint that referenced this issue Aug 9, 2018

alrra added a commit that referenced this issue Aug 9, 2018

alrra added a commit that referenced this issue Aug 10, 2018

alrra added a commit that referenced this issue Aug 13, 2018

@alrra alrra referenced this issue Aug 13, 2018

Closed

Docs: Add full Apache configuration example #1234

3 of 4 tasks complete

alrra added a commit that referenced this issue Aug 13, 2018

alrra added a commit that referenced this issue Aug 13, 2018

@alrra alrra closed this in 830bada Aug 13, 2018

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