From Santiago de Compostela (Spain), there is an extension of the pilgrimage route (El Camino de Santiago) which continues to the ocean. This route terminates in coastal city of Muxia. I first learned of this extension from the movie “The Way.”
According to the website: www.santiago-compostela.net:
Most people end their Camino in Santiago. It is well worth considering going on the Finisterre–this extension takes 3 days, and is much less crowded than the Camino Frances, and this can be a welcome relief. There are 3 good refugios (hostels) on the route, though they are perhaps not ideally placed. The first one, at Negeira, is only 21 km from Santiago, so that you can reach if by mid-afternoon. The next 2 stages are over 30 km, and thus make very long days. The refugio at Finisterre is much more crowded, with pilgrims who have come by bus, but it is well worth seeing the sun go down into the sea at the end of the world. And you can then continue along the coast to Muxia–you will hardly meet anyone if you do this walk. Or you can go directly to Muxia, and then walk from there to Finisterre (since this section is waymarked in both directions).
For more information about pilgrimages see: https://rogerdhansen.wordpress.com/2011/03/25/pilgrimages-why/