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

Use more syntax highlighting in the codeblocks #16

Open
bedroesb opened this issue Feb 13, 2025 · 1 comment
Open

Use more syntax highlighting in the codeblocks #16

bedroesb opened this issue Feb 13, 2025 · 1 comment
Assignees

Comments

@bedroesb
Copy link
Contributor

    <VirtualHost *:80>
      ServerName www.yourhost.com

      PassengerRuby /usr/share/rvm/gems/ruby-3.1.4/wrappers/ruby
      PassengerPreloadBundler on  

      DocumentRoot /srv/rails/seek/public
       <Directory /srv/rails/seek/public>
          # This relaxes Apache security settings.
          Allow from all
          # MultiViews must be turned off.
          Options -MultiViews
          Require all granted
       </Directory>
       <LocationMatch "^/assets/.*$">
          Header unset ETag
          FileETag None
          # RFC says only cache for 1 year
          ExpiresActive On
          ExpiresDefault "access plus 1 year"
       </LocationMatch>
    </VirtualHost>

Looks better than the currently used:

set it up as a service

<VirtualHost *:80>
  ServerName www.yourhost.com

  PassengerRuby /usr/share/rvm/gems/ruby-3.1.4/wrappers/ruby
  PassengerPreloadBundler on  

  DocumentRoot /srv/rails/seek/public
   <Directory /srv/rails/seek/public>
      # This relaxes Apache security settings.
      Allow from all
      # MultiViews must be turned off.
      Options -MultiViews
      Require all granted
   </Directory>
   <LocationMatch "^/assets/.*$">
      Header unset ETag
      FileETag None
      # RFC says only cache for 1 year
      ExpiresActive On
      ExpiresDefault "access plus 1 year"
   </LocationMatch>
</VirtualHost>

For code snippets

@PhilReedData PhilReedData self-assigned this Feb 24, 2025
@PhilReedData
Copy link
Contributor

Yes. And will need to update the contributions guidance to match.

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

No branches or pull requests

2 participants