Project

General

Profile

Bug #33956

serve assets directly via Apache, not via Puma/Rails

Added by Evgeni Golov about 1 year ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
-

Description

Right now, we don't special-case our assets folders in Apache, which results in these requests hitting Rails instead of being served directly by Apache (which should be 1000000× faster).

Ewoud said this is because it was tried to be implemented when we switched from Passenger to Puma, but Katello assets were broken afterwards, details in https://projects.theforeman.org/issues/35409


Subtasks

SELinux - Bug #35402: Allow apache to read /var/lib/foreman/publicClosedEvgeni Golov
Foreman - Bug #35403: Disable public_file_server in productionClosedEvgeni Golov
Packaging - Bug #35409: make sprockets-based plugin assets reachable from within /var/lib/foreman/public/assetsClosedEvgeni Golov

Associated revisions

Revision 215db653 (diff)
Added by Evgeni Golov 3 months ago

Fixes #33956 - serve static assets directly via Apache

Revision dc9ea4c0 (diff)
Added by Evgeni Golov 3 months ago

Refs #33956 - make it easier to toggle asset proxying

History

#1 Updated by The Foreman Bot 4 months ago

  • Assignee set to Evgeni Golov
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-foreman/pull/1078 added

#2 Updated by Evgeni Golov 4 months ago

  • Description updated (diff)

#3 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/puppet-foreman/pull/1080 added

#4 Updated by Evgeni Golov 3 months ago

  • Pull request deleted (https://github.com/theforeman/puppet-foreman/pull/1080)

#5 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 3.5.0 added

#6 Updated by Evgeni Golov 3 months ago

  • Status changed from Ready For Testing to Closed

#7 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/puppet-foreman/pull/1080 added

#8 Updated by Evgeni Golov 3 months ago

  • Pull request deleted (https://github.com/theforeman/puppet-foreman/pull/1080)

#9 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/puppet-katello_devel/pull/285 added

#10 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/puppet-foreman/pull/1085 added

#11 Updated by Ewoud Kohl van Wijngaarden 8 days ago

  • Triaged changed from No to Yes

Also available in: Atom PDF